Package net.minecraft.block
Class BlockState
java.lang.Object
net.minecraft.state.StateHolder<Block,BlockState>
net.minecraft.block.AbstractBlock.AbstractBlockState
net.minecraft.block.BlockState
- All Implemented Interfaces:
IForgeBlockState
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState
AbstractBlock.AbstractBlockState.Cache
-
Field Summary
Fields inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState
cache
Fields inherited from class net.minecraft.state.StateHolder
owner, propertiesCodec
-
Constructor Summary
ConstructorDescriptionBlockState
(Block p_i231876_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i231876_2_, com.mojang.serialization.MapCodec<BlockState> p_i231876_3_) -
Method Summary
Methods inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState
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
Methods inherited from class net.minecraft.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
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
-
Field Details
-
CODEC
-
-
Constructor Details
-
BlockState
public BlockState(Block p_i231876_1_, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> p_i231876_2_, com.mojang.serialization.MapCodec<BlockState> p_i231876_3_)
-
-
Method Details
-
asState
- Specified by:
asState
in classAbstractBlock.AbstractBlockState
-