Package net.swofty.structure
Class SkyBlockStructure
java.lang.Object
net.swofty.structure.SkyBlockStructure
- Direct Known Subclasses:
IslandPortal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
build
(net.minestom.server.instance.Instance instance) protected void
fill
(net.minestom.server.instance.Instance instance, int x1, int y1, int z1, int x2, int y2, int z2, net.minestom.server.instance.block.Block block) protected void
get
(net.minestom.server.instance.Instance instance, int x, int y, int z) protected int
rotateValue
(int value, int difference, net.swofty.structure.SkyBlockStructure.CoordinateType type) protected void
set
(net.minestom.server.instance.Instance instance, int x, int y, int z, net.minestom.server.instance.block.Block block)
-
Constructor Details
-
SkyBlockStructure
public SkyBlockStructure(int rotation, int x, int y, int z)
-
-
Method Details
-
build
public abstract void build(net.minestom.server.instance.Instance instance) -
set
protected void set(net.minestom.server.instance.Instance instance, int x, int y, int z, net.minestom.server.instance.block.Block block) -
get
protected void get(net.minestom.server.instance.Instance instance, int x, int y, int z) -
fill
protected void fill(net.minestom.server.instance.Instance instance, int x1, int y1, int z1, int x2, int y2, int z2, net.minestom.server.instance.block.Block block) -
rotateValue
protected int rotateValue(int value, int difference, net.swofty.structure.SkyBlockStructure.CoordinateType type)
-