From 3f34ac1c75a326a29ef9bda58ced7141f16480d9 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 19 Jul 2021 10:43:48 -0400 Subject: [PATCH] Update README.md --- README.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c437ec12e..0d0da5832 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,38 @@ For 1.16 and below, see the 1.14-1.16 branch. The master branch is for the latest version of minecraft. -# [Support](https://discord.gg/3xxPTpT) **|** [Documentation](https://docs.volmit.com/iris/) ** +# [Support](https://discord.gg/3xxPTpT) **|** [Documentation](https://docs.volmit.com/iris/) **|** [Git](https://github.com/IrisDimensions) -|** [Git](https://github.com/IrisDimensions) +## Iris Toolbelt +Everyone needs a toolbelt. -![Iris Image](https://raw.githubusercontent.com/VolmitSoftware/Iris/master/IRIS.png) +```java +package com.volmit.iris.core.tools + +// Get IrisDataManager from a world +IrisToolbelt.access(anyWorld).getCompound().getData(); + +// Get Default Engine from world +IrisToolbelt.access(anyWorld).getCompound().getDefaultEngine(); + +// Get the engine at the given height +IrisToolbelt.access(anyWorld).getCompound().getEngineForHeight(68); + +// IS THIS THING ON? +boolean yes = IrisToolbelt.isIrisWorld(world); + +// GTFO for worlds (moves players to any other world, just not this one) +IrisToolbelt.evacuate(world); + +IrisAccess access = IrisToolbelt.createWorld() // If you like builders... + .name("myWorld") // The world name + .dimension("terrifyinghands") + .seed(69133742) // The world seed + .headless(true) // Headless make gen go fast + .pregen(PregenTask // Define a pregen job to run + .builder() + .center(new Position2(0,0)) // REGION coords (1 region = 32x32 chunks) + .radius(4) // Radius in REGIONS. Rad of 4 means a 9x9 Region map. + .build()) + .create(); +```