public class BlockPane extends BlockFourWay
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey
EAST, FACING_TO_PROPERTY_MAP, field_196410_A, field_196412_B, NORTH, SOUTH, WATERLOGGED, WEST
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainer
delegate
Modifier | Constructor and Description |
---|---|
protected |
BlockPane(Block.Properties builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
attachesTo(IBlockState p_196417_1_,
BlockFaceShape p_196417_2_) |
boolean |
canBeConnectedTo(IBlockState state,
IBlockReader world,
BlockPos pos,
EnumFacing facing)
Determines if another block can connect to this block
|
protected boolean |
canSilkHarvest() |
protected void |
fillStateContainer(StateContainer.Builder<Block,IBlockState> builder) |
BlockFaceShape |
getBlockFaceShape(IBlockReader worldIn,
IBlockState state,
BlockPos pos,
EnumFacing face) |
BlockRenderLayer |
getRenderLayer() |
IBlockState |
getStateForPlacement(BlockItemUseContext context) |
boolean |
isFullCube(IBlockState state) |
boolean |
isSideInvisible(IBlockState state,
IBlockState adjacentBlockState,
EnumFacing side) |
static boolean |
shouldSkipAttachment(Block p_196418_0_) |
IBlockState |
updatePostPlacement(IBlockState stateIn,
EnumFacing facing,
IBlockState facingState,
IWorld worldIn,
BlockPos currentPos,
BlockPos facingPos) |
allowsMovement, canContainFluid, func_196408_a, getCollisionShape, getFluidState, getIndex, getShape, mirror, pickupFluid, receiveFluid, rotate
addInformation, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canProvidePower, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getComparatorInputOverride, getDefaultState, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightness
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower
protected BlockPane(Block.Properties builder)
public IBlockState getStateForPlacement(BlockItemUseContext context)
getStateForPlacement
in class Block
public IBlockState updatePostPlacement(IBlockState stateIn, EnumFacing facing, IBlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement
in class Block
public boolean isFullCube(IBlockState state)
isFullCube
in class Block
public boolean isSideInvisible(IBlockState state, IBlockState adjacentBlockState, EnumFacing side)
isSideInvisible
in class Block
public final boolean attachesTo(IBlockState p_196417_1_, BlockFaceShape p_196417_2_)
public static boolean shouldSkipAttachment(Block p_196418_0_)
protected boolean canSilkHarvest()
canSilkHarvest
in class Block
public BlockRenderLayer getRenderLayer()
getRenderLayer
in class Block
protected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer
in class Block
public BlockFaceShape getBlockFaceShape(IBlockReader worldIn, IBlockState state, BlockPos pos, EnumFacing face)
getBlockFaceShape
in class Block
public boolean canBeConnectedTo(IBlockState state, IBlockReader world, BlockPos pos, EnumFacing facing)
IForgeBlock
world
- The current worldpos
- The position of this blockfacing
- The side the connecting block is on