Merge remote-tracking branch 'origin/master'

This commit is contained in:
Daniel Mills 2021-08-07 21:18:45 -04:00
commit 03ea78b40b

View File

@ -2,9 +2,7 @@
For 1.16 and below, see the 1.14-1.16 branch. The master branch is for the latest version of minecraft. 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 ## Iris Toolbelt
@ -17,18 +15,18 @@ package com.volmit.iris.core.tools
IrisToolbelt.access(anyWorld).getCompound().getData(); IrisToolbelt.access(anyWorld).getCompound().getData();
// Get Default Engine from world // Get Default Engine from world
IrisToolbelt.access(anyWorld).getCompound().getDefaultEngine(); IrisToolbelt.access(anyWorld).getCompound().getDefaultEngine();
// Get the engine at the given height // Get the engine at the given height
IrisToolbelt.access(anyWorld).getCompound().getEngineForHeight(68); IrisToolbelt.access(anyWorld).getCompound().getEngineForHeight(68);
// IS THIS THING ON? // IS THIS THING ON?
boolean yes=IrisToolbelt.isIrisWorld(world); boolean yes=IrisToolbelt.isIrisWorld(world);
// GTFO for worlds (moves players to any other world, just not this one) // GTFO for worlds (moves players to any other world, just not this one)
IrisToolbelt.evacuate(world); IrisToolbelt.evacuate(world);
IrisAccess access=IrisToolbelt.createWorld() // If you like builders... IrisAccess access=IrisToolbelt.createWorld() // If you like builders...
.name("myWorld") // The world name .name("myWorld") // The world name
.dimension("terrifyinghands") .dimension("terrifyinghands")
.seed(69133742) // The world seed .seed(69133742) // The world seed