public interface IStaticSchematic extends ISchematic
getDirect(int, int, int)
Modifier and Type | Method and Description |
---|---|
default net.minecraft.block.state.IBlockState[] |
getColumn(int x,
int z)
Returns an
IBlockState array of size ISchematic.heightY() which contains all
desired block states in the specified vertical column. |
net.minecraft.block.state.IBlockState |
getDirect(int x,
int y,
int z)
Gets the
IBlockState for a given position in this schematic. |
desiredState, heightY, inSchematic, lengthZ, reset, size, widthX
net.minecraft.block.state.IBlockState getDirect(int x, int y, int z)
IBlockState
for a given position in this schematic. It should be guaranteed
that the return value of this method will not change given that the parameters are the same.x
- The X block positiony
- The Y block positionz
- The Z block positiondefault net.minecraft.block.state.IBlockState[] getColumn(int x, int z)
IBlockState
array of size ISchematic.heightY()
which contains all
desired block states in the specified vertical column. The index of IBlockState
s
in the array are equivalent to their Y position in the schematic.x
- The X column positionz
- The Z column positionIBlockState
array