public class AABBMultiBlock extends MultiBlock
AxisAlignedBB.IBlockState used when placing is the default one altered to have the proper values for the origin and direction properties.offset, ORIGIN_BLOCK_DATA, property, states| Constructor and Description |
|---|
AABBMultiBlock(net.minecraft.util.math.AxisAlignedBB aabb) |
AABBMultiBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.AxisAlignedBB aabb) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildStates() |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox() |
net.minecraft.util.math.AxisAlignedBB |
getRelativeBoundingBox(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos origin) |
void |
setDefaultState(net.minecraft.block.state.IBlockState state) |
breakBlocks, canPlaceBlockAt, getOrigin, getRotation, getState, getWorldState, isBulkBreak, isBulkPlace, isComplete, isComplete, isFromMultiblock, isOrigin, iterator, placeBlocks, setBulkProcess, setOffset, setOriginData, setPropertyDirection, worldStates, worldStatespublic AABBMultiBlock(net.minecraft.util.math.AxisAlignedBB aabb)
public AABBMultiBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.AxisAlignedBB aabb)
public net.minecraft.util.math.AxisAlignedBB getBoundingBox()
public void setDefaultState(net.minecraft.block.state.IBlockState state)
public net.minecraft.util.math.AxisAlignedBB getRelativeBoundingBox(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos origin)
protected void buildStates()
buildStates in class MultiBlock