net.minecraft.world.item.component

public record BlockItemStateProperties

czr
net.minecraft.world.item.component.BlockItemStateProperties
net.minecraft.class_9275
net.minecraft.component.type.BlockStateComponent
net.minecraft.world.item.component.BlockItemStateProperties

Field summary

Modifier and TypeField
private final Map<String, String>
d
properties
comp_2381
properties
public static final BlockItemStateProperties
a
EMPTY
field_49284
DEFAULT
public static final com.mojang.serialization.Codec<BlockItemStateProperties>
b
CODEC
field_49285
CODEC
private static final StreamCodec<io.netty.buffer.ByteBuf, Map<String, String>>
e
PROPERTIES_STREAM_CODEC
field_49287
MAP_PACKET_CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, BlockItemStateProperties>
c
STREAM_CODEC
field_49286
PACKET_CODEC

Constructor summary

ModifierConstructor
public (Map<String, String> arg0)

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> BlockItemStateProperties
a(dyx<T> arg0, T arg1)
with(Property<T> arg0, T arg1)
method_57420(class_2769<T> arg0, T arg1)
with(Property<T> property, T value)
public <T extends Comparable<T>> BlockItemStateProperties
a(dyx<T> arg0, dxv arg1)
with(Property<T> arg0, BlockState arg1)
method_57419(class_2769<T> arg0, class_2680 arg1)
with(Property<T> property, BlockState fromState)
public <T extends Comparable<T>> T
a(dyx<T> arg0)
get(Property<T> arg0)
method_57418(class_2769<T> arg0)
getValue(Property<T> property)
public BlockState
a(dxv arg0)
apply(BlockState arg0)
method_57415(class_2680 arg0)
applyToState(BlockState state)
private static <T extends Comparable<T>> BlockState
a(dxv arg0, dyx<T> arg1, String arg2)
updateState(BlockState arg0, Property<T> arg1, String arg2)
method_57417(class_2680 arg0, class_2769<T> arg1, String arg2)
applyToState(BlockState state, Property<T> property, String value)
public boolean
a()
isEmpty()
method_57414()
isEmpty()
public Map<String, String>
b()
properties()
comp_2381()
properties()