public class BlockPane extends Block
Block.EnumOffsetTypeIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>| Modifier and Type | Field and Description | 
|---|---|
| protected static AxisAlignedBB[] | AABB_BY_INDEX | 
| static PropertyBool | EAST | 
| static PropertyBool | NORTH | 
| static PropertyBool | SOUTH | 
| static PropertyBool | WEST | 
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightnessdelegate| Modifier | Constructor and Description | 
|---|---|
| protected  | BlockPane(Material materialIn,
         boolean canDrop) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addCollisionBoxToList(IBlockState state,
                     World worldIn,
                     BlockPos pos,
                     AxisAlignedBB entityBox,
                     java.util.List<AxisAlignedBB> collidingBoxes,
                     Entity entityIn,
                     boolean p_185477_7_) | 
| boolean | canBeConnectedTo(IBlockAccess world,
                BlockPos pos,
                EnumFacing facing)Determines if another block can connect to this block | 
| boolean | canPaneConnectTo(IBlockAccess world,
                BlockPos pos,
                EnumFacing dir) | 
| boolean | canPaneConnectToBlock(Block blockIn) | 
| protected boolean | canSilkHarvest() | 
| protected BlockStateContainer | createBlockState() | 
| IBlockState | getActualState(IBlockState state,
              IBlockAccess worldIn,
              BlockPos pos)Get the actual Block state of this Block at the given position. | 
| BlockRenderLayer | getBlockLayer() | 
| AxisAlignedBB | getBoundingBox(IBlockState state,
              IBlockAccess source,
              BlockPos pos) | 
| Item | getItemDropped(IBlockState state,
              java.util.Random rand,
              int fortune)Get the Item that this Block should drop when harvested. | 
| int | getMetaFromState(IBlockState state)Convert the BlockState into the correct metadata value | 
| boolean | isFullCube(IBlockState state) | 
| boolean | isOpaqueCube(IBlockState state)Used to determine ambient occlusion and culling when rebuilding chunks for render | 
| boolean | shouldSideBeRendered(IBlockState blockState,
                    IBlockAccess blockAccess,
                    BlockPos pos,
                    EnumFacing side) | 
| IBlockState | withMirror(IBlockState state,
          Mirror mirrorIn)Returns the blockstate with the given mirror of the passed blockstate. | 
| IBlockState | withRotation(IBlockState state,
            Rotation rot)Returns the blockstate with the given rotation from the passed blockstate. | 
addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateForPlacement, getStateFromMeta, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullyOpaque, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, tickRate, toString, updateTickgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic static final PropertyBool NORTH
public static final PropertyBool EAST
public static final PropertyBool SOUTH
public static final PropertyBool WEST
protected static final AxisAlignedBB[] AABB_BY_INDEX
protected BlockPane(Material materialIn, boolean canDrop)
public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, java.util.List<AxisAlignedBB> collidingBoxes, Entity entityIn, boolean p_185477_7_)
addCollisionBoxToList in class Blockpublic AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
getBoundingBox in class Blockpublic IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos)
getActualState in class Blockpublic Item getItemDropped(IBlockState state, java.util.Random rand, int fortune)
getItemDropped in class Blockpublic boolean isOpaqueCube(IBlockState state)
isOpaqueCube in class Blockpublic boolean isFullCube(IBlockState state)
isFullCube in class Blockpublic final boolean canPaneConnectToBlock(Block blockIn)
public boolean shouldSideBeRendered(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side)
shouldSideBeRendered in class Blockprotected boolean canSilkHarvest()
canSilkHarvest in class Blockpublic BlockRenderLayer getBlockLayer()
getBlockLayer in class Blockpublic int getMetaFromState(IBlockState state)
getMetaFromState in class Blockpublic IBlockState withRotation(IBlockState state, Rotation rot)
withRotation in class Blockpublic IBlockState withMirror(IBlockState state, Mirror mirrorIn)
withMirror in class Blockprotected BlockStateContainer createBlockState()
createBlockState in class Blockpublic boolean canBeConnectedTo(IBlockAccess world, BlockPos pos, EnumFacing facing)
BlockcanBeConnectedTo in class Blockworld - The current worldpos - The position of this blockfacing - The side the connecting block is onpublic boolean canPaneConnectTo(IBlockAccess world, BlockPos pos, EnumFacing dir)