public class BlockState extends AbstractBlock.AbstractBlockState
AbstractBlock.AbstractBlockState.ShapeCache
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<BlockState> |
CODEC |
shapeCache
Constructor and Description |
---|
BlockState(Block block,
ImmutableMap<Property<?>,Comparable<?>> propertyMap,
com.mojang.serialization.MapCodec<BlockState> mapCodec) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
asBlockState() |
allowsSpawning, calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, exceedsCube, getAmbientOcclusionLightLevel, getBlock, getCollisionShape, getCollisionShape, getComparatorOutput, getCullingFace, getCullingShape, getDroppedStacks, getFluidState, getHardness, getLuminance, getMaterial, getModelOffset, getOpacity, getOutlineShape, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTopMaterialColor, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasEmissiveLighting, hasRandomTicks, hasSidedTransparency, hasSolidTopSurface, hasSolidTopSurface, initShapeCache, isAir, isFullCube, isIn, isOf, isOpaque, isOpaqueFullCube, isSideInvisible, isSideSolid, isSideSolidFullSquare, isSolidBlock, isToolRequired, isTranslucent, method_27851, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, prepare, randomTick, rotate, scheduledTick, shouldBlockVision, shouldPostProcess, shouldSuffocate, updateNeighbors, updateNeighbors
contains, createCodec, createWithTable, cycle, get, getEntries, getNext, getProperties, method_28500, toString, with
public static final com.mojang.serialization.Codec<BlockState> CODEC
public BlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> mapCodec)
protected BlockState asBlockState()
asBlockState
in class AbstractBlock.AbstractBlockState