net.minecraft.block

public class BlockState

extends AbstractBlock$AbstractBlockState

All mapped superinterfaces:

EntryConvertible

net.minecraft.world.level.block.state.BlockState
net.minecraft.class_2680
net.minecraft.block.BlockState

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<BlockState>
FULL_CODEC
field_1_10389
DEFAULT_STATE_CODEC
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Block, BlockState>>
CONSTANT_OR_DISPATCH_CODEC
field_1_9793
BLOCK_OR_STATE_CODEC
public static final com.mojang.serialization.Codec<BlockState>
CODEC
field_24734
CODEC

Constructor summary

ModifierConstructor
public (Block owner, Property<?>[] propertyKeys, Comparable<?>[] propertyValues)

Method summary

Modifier and TypeMethod
protected BlockState
asState()
method_26233()
asBlockState()
private static com.mojang.datafixers.util.Either
lambda$static$2(BlockState arg0)
method_1_9476(class_2680 arg0)
method_1_9476(BlockState state)
private static BlockState
lambda$static$0(com.mojang.datafixers.util.Either arg0)
method_1_9474(com.mojang.datafixers.util.Either arg0)
method_1_9474(com.mojang.datafixers.util.Either either)
private static BlockState
lambda$static$1(BlockState arg0)
method_1_9475(class_2680 arg0)
method_1_9475(BlockState state)