net.minecraft.world.item.component

public record BlockItemStateProperties

cxc
net.minecraft.world.item.component.BlockItemStateProperties
net.minecraft.class_9275
net.minecraft.component.type.BlockStateComponent
net.minecraft.src.C_313335_
net.minecraft.world.item.component.BlockItemStateProperties

Field summary

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

Constructor summary

ModifierConstructor
public (Map<String, String> arg0)

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> BlockItemStateProperties
a(dth<T> arg0, T arg1)
with(Property<T> arg0, T arg1)
method_57420(class_2769<T> arg0, T arg1)
with(Property<T> property, T value)
m_323763_(C_2097_<T> p_329394_, T arg1)
public <T extends Comparable<T>> BlockItemStateProperties
a(dth<T> arg0, dse arg1)
with(Property<T> arg0, BlockState arg1)
method_57419(class_2769<T> arg0, class_2680 arg1)
with(Property<T> property, BlockState fromState)
m_323660_(C_2097_<T> p_334050_, C_2064_ arg1)
public <T extends Comparable<T>> T
a(dth<T> arg0)
get(Property<T> arg0)
method_57418(class_2769<T> arg0)
getValue(Property<T> property)
m_321723_(C_2097_<T> arg0)
public BlockState
a(dse arg0)
apply(BlockState arg0)
method_57415(class_2680 arg0)
applyToState(BlockState state)
m_323904_(C_2064_ arg0)
private static <T extends Comparable<T>> BlockState
a(dse arg0, dth<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)
m_319877_(C_2064_ p_335297_, C_2097_<T> p_336285_, String p_328779_)
public boolean
a()
isEmpty()
method_57414()
isEmpty()
m_322799_()
public Map<String, String>
b()
properties()
comp_2381()
properties()
f_316576_()