public class CornerComponent extends java.lang.Object implements IBlockComponent
| Constructor and Description |
|---|
CornerComponent() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.AxisAlignedBB[] |
getBoundingBoxes(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
BoundingBoxType type)
Gets the bounding boxes for the
Block. |
java.util.List<IComponent> |
getDependencies()
Gets the additional components that this
IComponent depends on. |
net.minecraft.block.properties.PropertyBool |
getProperty()
Gets the
IProperty used by this IBlockComponent. |
java.lang.Boolean |
isFullBlock(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
Checks whether this
IBlockComponent represents a full Block. |
java.lang.Boolean |
isFullCube(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
Checks whether this
IBlockComponent represents a full cube. |
java.lang.Boolean |
isOpaqueCube(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
Checks whether this
IBlockComponent represents an opaque cube. |
net.minecraft.block.state.IBlockState |
setDefaultState(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
Sets the default values for the
IBlockState. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbreakBlock, canPlaceBlockAt, canPlaceBlockOnSide, damageDropped, getBoundingBox, getItem, getItemDropped, getLightOpacity, getMapColor, getMetaFromState, getPackedLightmapCoords, getProperties, getStateFromMeta, getSubBlocks, getUnlocalizedName, onBlockActivated, onBlockAdded, onBlockPlaced, onBlockPlacedBy, onNeighborBlockChange, quantityDropped, shouldSideBeRenderedgetComponent, isClientComponentpublic net.minecraft.block.properties.PropertyBool getProperty()
IBlockComponentIProperty used by this IBlockComponent.getProperty in interface IBlockComponentpublic net.minecraft.block.state.IBlockState setDefaultState(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
IBlockComponentIBlockState.setDefaultState in interface IBlockComponentblock - the blockstate - the statepublic java.util.List<IComponent> getDependencies()
IComponentIComponent depends on.getDependencies in interface IComponentpublic net.minecraft.util.math.AxisAlignedBB[] getBoundingBoxes(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
BoundingBoxType type)
IBlockComponentBlock.getBoundingBoxes in interface IBlockComponentblock - the blockworld - the worldpos - the postype - the typepublic java.lang.Boolean isOpaqueCube(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
IBlockComponentIBlockComponent represents an opaque cube.isOpaqueCube in interface IBlockComponentblock - the blockstate - the statepublic java.lang.Boolean isFullBlock(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
IBlockComponentIBlockComponent represents a full Block.isFullBlock in interface IBlockComponentblock - the blockstate - the statepublic java.lang.Boolean isFullCube(net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state)
IBlockComponentIBlockComponent represents a full cube.isFullCube in interface IBlockComponentblock - the blockstate - the state