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:
IBlockStateExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
BlockBehaviour.BlockStateBase.Cache -
Field Summary
FieldsFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
cacheFields inherited from class net.minecraft.world.level.block.state.StateHolder
NAME_TAG, owner, PROPERTIES_TAG, propertiesCodec -
Constructor Summary
ConstructorsConstructorDescriptionBlockState(Block p_61042_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326238_, com.mojang.serialization.MapCodec<BlockState> p_61044_) -
Method Summary
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase
attack, blocksMotion, canBeReplaced, canBeReplaced, canBeReplaced, canOcclude, canSurvive, emissiveRendering, entityCanStandOn, entityCanStandOnFace, entityInside, getAnalogOutputSignal, getBlock, getBlockHolder, getBlockSupportShape, getCollisionShape, getCollisionShape, getDestroyProgress, getDestroySpeed, getDirectSignal, getDrops, getFaceOcclusionShape, getFluidState, getInteractionShape, getLightBlock, getLightEmission, getMapColor, getMenuProvider, getOcclusionShape, getOffset, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getShape, getSignal, getSoundType, getTags, getTicker, getVisualShape, handleNeighborChanged, hasAnalogOutputSignal, hasBlockEntity, hasLargeCollisionShape, hasOffsetFunction, hasPostProcess, ignitedByLava, initCache, instrument, is, is, is, is, is, is, isAir, isCollisionShapeFullBlock, isFaceSturdy, isFaceSturdy, isPathfindable, isRandomlyTicking, isRedstoneConductor, isSignalSource, isSolid, isSolidRender, isSuffocating, isValidSpawn, isViewBlocking, liquid, mirror, onExplosionHit, onPlace, onProjectileHit, onRemove, propagatesSkylightDown, randomTick, requiresCorrectToolForDrops, rotate, shouldSpawnTerrainParticles, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateIndirectNeighbourShapes, updateNeighbourShapes, updateNeighbourShapes, updateShape, useItemOn, useShapeForLightOcclusion, useWithoutItemMethods inherited from class net.minecraft.world.level.block.state.StateHolder
codec, cycle, findNextInCollection, getOptionalValue, getProperties, getValue, getValues, hasProperty, populateNeighbours, setValue, toString, trySetValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
addLandingEffects, addRunningEffects, canBeHydrated, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRedstoneConnectTo, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
-
Field Details
-
CODEC
-
-
Constructor Details
-
BlockState
public BlockState(Block p_61042_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_326238_, com.mojang.serialization.MapCodec<BlockState> p_61044_)
-
-
Method Details
-
asState
- Specified by:
asStatein classBlockBehaviour.BlockStateBase
-