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_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_328252_, 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, useWithoutItem
Methods inherited from class net.minecraft.world.level.block.state.StateHolder
codec, cycle, findNextInCollection, getOptionalValue, getProperties, getValue, getValues, hasProperty, populateNeighbours, setValue, toString, trySetValue
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_, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> p_328252_, com.mojang.serialization.MapCodec<BlockState> p_61044_)
-
-
Method Details
-
asState
- Specified by:
asState
in classBlockBehaviour.BlockStateBase
-