Package net.minecraft.block
Class BlockState
java.lang.Object
net.minecraft.state.State<Block,BlockState>
net.minecraft.block.AbstractBlock.AbstractBlockState
net.minecraft.block.BlockState
- Mappings:
Namespace Name official cyt
intermediary net/minecraft/class_2680
named net/minecraft/block/BlockState
-
Field Summary
Fields inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState
shapeCache
Fields inherited from class net.minecraft.state.State
codec, NAME, owner, PROPERTIES
-
Constructor Summary
ConstructorDescriptionBlockState
(Block block, ImmutableMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) -
Method Summary
Methods inherited from class net.minecraft.block.AbstractBlock.AbstractBlockState
allowsSpawning, calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, exceedsCube, getAmbientOcclusionLightLevel, getBlock, getBlockEntityTicker, getCameraCollisionShape, getCollisionShape, getCollisionShape, getComparatorOutput, getCullingFace, getCullingShape, getDroppedStacks, getFluidState, getHardness, getLuminance, getMapColor, getMaterial, getModelOffset, getOffsetType, getOpacity, getOutlineShape, getOutlineShape, getPistonBehavior, getRaycastShape, getRegistryEntry, getRenderingSeed, getRenderType, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasBlockBreakParticles, hasBlockEntity, hasComparatorOutput, hasEmissiveLighting, hasRandomTicks, hasSidedTransparency, hasSolidTopSurface, initShapeCache, isAir, isFullCube, isIn, isIn, isIn, isOf, isOpaque, isOpaqueFullCube, isReplaceable, isSideInvisible, isSideSolid, isSideSolidFullSquare, isSolidBlock, isSolidSurface, isToolRequired, isTranslucent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, prepare, randomTick, rotate, scheduledTick, shouldBlockVision, shouldPostProcess, shouldSuffocate, streamTags, updateNeighbors, updateNeighbors
Methods inherited from class net.minecraft.state.State
contains, createCodec, createWithTable, cycle, get, getEntries, getNext, getOrEmpty, getProperties, toString, with, withIfExists
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official b
Lcyt;b:Lcom/mojang/serialization/Codec;
intermediary field_24734
Lnet/minecraft/class_2680;field_24734:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/block/BlockState;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
BlockState
public BlockState(Block block, ImmutableMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) - Mappings:
Namespace Name Mixin selector official <init>
Lcys$a;<init>(Lcmt;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
intermediary <init>
Lnet/minecraft/class_4970$class_4971;<init>(Lnet/minecraft/class_2248;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
named <init>
Lnet/minecraft/block/AbstractBlock$AbstractBlockState;<init>(Lnet/minecraft/block/Block;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V
-
-
Method Details
-
asBlockState
- Specified by:
asBlockState
in classAbstractBlock.AbstractBlockState
- Mappings:
Namespace Name Mixin selector official t
Lcys$a;t()Lcyt;
intermediary method_26233
Lnet/minecraft/class_4970$class_4971;method_26233()Lnet/minecraft/class_2680;
named asBlockState
Lnet/minecraft/block/AbstractBlock$AbstractBlockState;asBlockState()Lnet/minecraft/block/BlockState;
-