public class FillSchematic extends AbstractSchematic
x, y, z
Constructor and Description |
---|
FillSchematic(int x,
int y,
int z,
BlockOptionalMeta bom) |
FillSchematic(int x,
int y,
int z,
net.minecraft.block.state.IBlockState state) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.block.state.IBlockState |
desiredState(int x,
int y,
int z,
net.minecraft.block.state.IBlockState current,
java.util.List<net.minecraft.block.state.IBlockState> approxPlaceable)
Returns the desired block state at a given (X, Y, Z) position relative to the origin (0, 0, 0).
|
BlockOptionalMeta |
getBom() |
heightY, lengthZ, widthX
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inSchematic, reset, size
public FillSchematic(int x, int y, int z, BlockOptionalMeta bom)
public FillSchematic(int x, int y, int z, net.minecraft.block.state.IBlockState state)
public BlockOptionalMeta getBom()
public net.minecraft.block.state.IBlockState desiredState(int x, int y, int z, net.minecraft.block.state.IBlockState current, java.util.List<net.minecraft.block.state.IBlockState> approxPlaceable)
ISchematic
x
- The x position of the block, relative to the originy
- The y position of the block, relative to the originz
- The z position of the block, relative to the origincurrent
- The current state of that block in the world, or nullapproxPlaceable
- The list of blockstates estimated to be placeable