public class BlockState extends AbstractBlock.AbstractBlockState implements IForgeBlockState
AbstractBlock.AbstractBlockState.Cache
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<BlockState> |
CODEC |
cache
owner, propertiesCodec
Constructor and Description |
---|
BlockState(Block p_i231876_1_,
com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i231876_2_,
com.mojang.serialization.MapCodec<BlockState> p_i231876_3_) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
asState() |
attack, canBeReplaced, canBeReplaced, canOcclude, canSurvive, emissiveRendering, entityCanStandOn, entityCanStandOnFace, entityInside, getAnalogOutputSignal, getBlock, getBlockSupportShape, getCollisionShape, getCollisionShape, getDestroyProgress, getDestroySpeed, getDirectSignal, getDrops, getFaceOcclusionShape, getFluidState, getInteractionShape, getLightBlock, getLightEmission, getMapColor, getMaterial, getMenuProvider, getOcclusionShape, getOffset, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getShape, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, hasLargeCollisionShape, hasPostProcess, initCache, is, is, is, isAir, isCollisionShapeFullBlock, isFaceSturdy, isFaceSturdy, isPathfindable, isRandomlyTicking, isRedstoneConductor, isSignalSource, isSolidRender, isSuffocating, isValidSpawn, isViewBlocking, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, propagatesSkylightDown, randomTick, requiresCorrectToolForDrops, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateIndirectNeighbourShapes, updateNeighbourShapes, updateNeighbourShapes, updateShape, use, useShapeForLightOcclusion
codec, cycle, findNextInCollection, getOptionalValue, getProperties, getValue, getValues, hasProperty, populateNeighbours, setValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockState, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public static final com.mojang.serialization.Codec<BlockState> CODEC
public BlockState(Block p_i231876_1_, com.google.common.collect.ImmutableMap<Property<?>,java.lang.Comparable<?>> p_i231876_2_, com.mojang.serialization.MapCodec<BlockState> p_i231876_3_)
protected BlockState asState()
asState
in class AbstractBlock.AbstractBlockState