public class BlockState extends AbstractBlock.AbstractBlockState
AbstractBlock.AbstractBlockState.ShapeCache
shapeCache
owner
Constructor and Description |
---|
BlockState(Block block,
ImmutableMap<Property<?>,Comparable<?>> propertyMap) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
asBlockState() |
static <T> BlockState |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
static <T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops,
BlockState state) |
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, getRayTraceShape, getRenderingSeed, getRenderType, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTopMaterialColor, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasEmissiveLighting, hasRandomTicks, hasSidedTransparency, hasSolidTopSurface, hasSolidTopSurface, initShapeCache, isAir, isFullCube, isIn, isOpaque, isOpaqueFullCube, isSideInvisible, isSideSolidFullSquare, isSolidBlock, isTranslucent, mirror, neighborUpdate, onBlockAction, onBlockAdded, onBlockBreakStart, onBlockRemoved, onEntityCollision, onProjectileHit, onStacksDropped, onUse, prepare, randomTick, rotate, scheduledTick, shouldBlockVision, shouldPostProcess, shouldSuffocate, updateNeighbors
contains, createWithTable, cycle, get, getEntries, getNext, getProperties, toString, with
public BlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap)
protected BlockState asBlockState()
asBlockState
in class AbstractBlock.AbstractBlockState
public static <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops, BlockState state)
public static <T> BlockState deserialize(com.mojang.datafixers.Dynamic<T> dynamic)