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, getBlockHolder, getBlockSupportShape, getCollisionShape, getCollisionShape, getDestroyProgress, getDestroySpeed, getDirectSignal, getDrops, getFaceOcclusionShape, getFluidState, getInteractionShape, getLightBlock, getLightEmission, getMapColor, getMaterial, getMenuProvider, getOcclusionShape, getOffset, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getShape, getSignal, getSoundType, getTags, getTicker, getVisualShape, hasAnalogOutputSignal, hasBlockEntity, hasLargeCollisionShape, hasPostProcess, initCache, is, 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, canBeHydrated, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRedstoneConnectTo, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
-
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
-