Class BlockState
java.lang.Object
net.minecraft.world.level.block.state.StateHolder<Block,BlockState>
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
net.minecraft.world.level.block.state.BlockState
- All Implemented Interfaces:
IForgeBlockState
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
BlockBehaviour.BlockStateBase.Cache
-
Field Summary
Fields inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
cache
Fields inherited from class net.minecraft.world.level.block.state.StateHolder
NAME_TAG, owner, PROPERTIES_TAG, propertiesCodec
-
Constructor Summary
ConstructorDescriptionBlockState(Block p_61042_, com.google.common.collect.ImmutableMap<Property<?>,Comparable<?>> p_61043_, com.mojang.serialization.MapCodec<BlockState> p_61044_)
-
Method Summary
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
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, getTicker, getVisualShape, hasAnalogOutputSignal, hasBlockEntity, 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
Methods inherited from class net.minecraft.world.level.block.state.StateHolder
codec, cycle, findNextInCollection, getOptionalValue, getProperties, getValue, getValues, hasProperty, populateNeighbours, setValue, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockState
addLandingEffects, addRunningEffects, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRedstoneConnectTo, canStickTo, canSustainPlant, catchFire, collisionExtendsVertically, getAiPathNodeType, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getPickBlock, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, onBlockExploded, onNeighborChange, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
-
Field Details
-
CODEC
-
-
Constructor Details
-
BlockState
public BlockState(Block p_61042_, com.google.common.collect.ImmutableMap<Property<?>,Comparable<?>> p_61043_, com.mojang.serialization.MapCodec<BlockState> p_61044_)
-
-
Method Details
-
asState
- Specified by:
asState
in classBlockBehaviour.BlockStateBase
-