public class PaneComponent extends java.lang.Object implements IBlockComponent, ISmartCull
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyBool |
EAST |
static net.minecraft.block.properties.PropertyBool |
NORTH |
static net.minecraft.block.properties.PropertyBool |
SOUTH |
static net.minecraft.block.properties.PropertyBool |
WEST |
| Constructor and Description |
|---|
PaneComponent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPaneConnectTo(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing dir) |
boolean |
canPaneConnectToBlock(net.minecraft.block.Block block) |
net.minecraft.util.AxisAlignedBB[] |
getBoundingBoxes(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
BoundingBoxType type)
Gets the bounding boxes for the
Block. |
net.minecraft.block.state.IBlockState |
getFullState(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos) |
net.minecraft.block.properties.IProperty[] |
getProperties()
Gets the all the
properties used by this IBlockComponent. |
net.minecraft.block.properties.IProperty |
getProperty()
Gets the
IProperty used by this IBlockComponent. |
java.lang.Boolean |
isFullCube(net.minecraft.block.Block block)
Checks whether this
IBlockComponent represents a full cube. |
java.lang.Boolean |
isOpaqueCube(net.minecraft.block.Block block)
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, colorMultiplier, damageDropped, getBoundingBox, getComponent, getDependencies, getItem, getItemDropped, getLightOpacity, getMapColor, getMetaFromState, getMixedBrightnessForBlock, getProperty, getRenderColor, getStateFromMeta, getSubBlocks, getUnlocalizedName, isFullBlock, onBlockActivated, onBlockPlaced, onBlockPlacedBy, onNeighborBlockChange, quantityDropped, shouldSideBeRenderedshouldSmartCull, shouldSmartCullpublic static final net.minecraft.block.properties.PropertyBool NORTH
public static final net.minecraft.block.properties.PropertyBool EAST
public static final net.minecraft.block.properties.PropertyBool SOUTH
public static final net.minecraft.block.properties.PropertyBool WEST
public net.minecraft.block.properties.IProperty getProperty()
IBlockComponentIProperty used by this IBlockComponent.getProperty in interface IBlockComponentpublic net.minecraft.block.properties.IProperty[] getProperties()
IBlockComponentproperties used by this IBlockComponent.getProperties 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 net.minecraft.block.state.IBlockState getFullState(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos)
public net.minecraft.util.AxisAlignedBB[] getBoundingBoxes(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
BoundingBoxType type)
IBlockComponentBlock.getBoundingBoxes in interface IBlockComponentblock - the blockworld - the worldpos - the postype - the typepublic java.lang.Boolean isFullCube(net.minecraft.block.Block block)
IBlockComponentIBlockComponent represents a full cube.isFullCube in interface IBlockComponentblock - the blockpublic java.lang.Boolean isOpaqueCube(net.minecraft.block.Block block)
IBlockComponentIBlockComponent represents an opaque cube.isOpaqueCube in interface IBlockComponentblock - the blockpublic final boolean canPaneConnectToBlock(net.minecraft.block.Block block)
public boolean canPaneConnectTo(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing dir)