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 - named - net/minecraft/block/BlockState- intermediary - net/minecraft/class_2680- official - dse
- 
Field SummaryFieldsFields inherited from class net.minecraft.block.AbstractBlock.AbstractBlockStateshapeCacheFields inherited from class net.minecraft.state.Statecodec, NAME, owner, PROPERTIES
- 
Constructor SummaryConstructorsConstructorDescriptionBlockState(Block block, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) 
- 
Method SummaryMethods inherited from class net.minecraft.block.AbstractBlock.AbstractBlockStateallowsSpawning, blocksMovement, calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, exceedsCube, getAmbientOcclusionLightLevel, getBlock, getBlockEntityTicker, getCameraCollisionShape, getCollisionShape, getCollisionShape, getComparatorOutput, getCullingFace, getCullingShape, getDroppedStacks, getFluidState, getHardness, getInstrument, getLuminance, getMapColor, getModelOffset, getOpacity, getOutlineShape, getOutlineShape, getPistonBehavior, getRaycastShape, getRegistryEntry, getRenderingSeed, getRenderType, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasBlockBreakParticles, hasBlockEntity, hasComparatorOutput, hasEmissiveLighting, hasModelOffset, hasRandomTicks, hasSidedTransparency, hasSolidTopSurface, initShapeCache, isAir, isBurnable, isFullCube, isIn, isIn, isIn, isLiquid, isOf, isOf, isOpaque, isOpaqueFullCube, isReplaceable, isSideInvisible, isSideSolid, isSideSolidFullSquare, isSolid, isSolidBlock, isSolidSurface, isToolRequired, isTransparent, matchesKey, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, prepare, randomTick, rotate, scheduledTick, shouldBlockVision, shouldPostProcess, shouldSuffocate, streamTags, updateNeighbors, updateNeighborsMethods inherited from class net.minecraft.state.Statecontains, createCodec, createWithTable, cycle, get, getEntries, getNext, getOrEmpty, getProperties, toString, with, withIfExists
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/BlockState;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_24734- Lnet/minecraft/class_2680;field_24734:Lcom/mojang/serialization/Codec;- official - b- Ldse;b:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
BlockStatepublic BlockState(Block block, Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/AbstractBlock$AbstractBlockState;<init>(Lnet/minecraft/block/Block;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V- intermediary - <init>- Lnet/minecraft/class_4970$class_4971;<init>(Lnet/minecraft/class_2248;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V- official - <init>- Ldsd$a;<init>(Ldfb;Lit/unimi/dsi/fastutil/objects/Reference2ObjectArrayMap;Lcom/mojang/serialization/MapCodec;)V
 
 
- 
- 
Method Details- 
asBlockState- Specified by:
- asBlockStatein class- AbstractBlock.AbstractBlockState
- Mappings:
- Namespace - Name - Mixin selector - named - asBlockState- Lnet/minecraft/block/AbstractBlock$AbstractBlockState;asBlockState()Lnet/minecraft/block/BlockState;- intermediary - method_26233- Lnet/minecraft/class_4970$class_4971;method_26233()Lnet/minecraft/class_2680;- official - x- Ldsd$a;x()Ldse;
 
 
-