net.minecraft.world.item.component

public record BlockItemStateProperties

cxd
net.minecraft.world.item.component.BlockItemStateProperties
net.minecraft.class_9275
net.minecraft.unmapped.C_snokizpi
net.minecraft.component.type.BlockStateComponent
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
f_ydwvcyey
properties
properties
f_316576_
public static final BlockItemStateProperties
a
EMPTY
field_49284
f_fxqtkqgw
DEFAULT
DEFAULT
f_314882_
public static final com.mojang.serialization.Codec<BlockItemStateProperties>
b
CODEC
field_49285
f_zvevqznu
CODEC
CODEC
f_315463_
private static final StreamCodec<io.netty.buffer.ByteBuf, Map<String, String>>
e
PROPERTIES_STREAM_CODEC
field_49287
f_dzmaznna
MAP_PACKET_CODEC
MAP_PACKET_CODEC
f_314318_
public static final StreamCodec<io.netty.buffer.ByteBuf, BlockItemStateProperties>
c
STREAM_CODEC
field_49286
f_ablwdbgc
PACKET_CODEC
PACKET_CODEC
f_317137_

Constructor summary

ModifierConstructor
public (Map<String, String> properties)

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> BlockItemStateProperties
a(duf<T> arg0, T arg1)
with(Property<T> arg0, T arg1)
method_57420(class_2769<T> arg0, T arg1)
m_pmxqilvg(C_vzlztuyw<T> arg0, T arg1)
with(Property<T> property, T value)
with(Property<T> property, T value)
m_323763_(C_2097_<T> p_329394_, T arg1)
public <T extends Comparable<T>> BlockItemStateProperties
a(duf<T> arg0, dtc arg1)
with(Property<T> arg0, BlockState arg1)
method_57419(class_2769<T> arg0, class_2680 arg1)
m_aedcdqfu(C_vzlztuyw<T> arg0, C_txtbiemp arg1)
with(Property<T> property, BlockState fromState)
with(Property<T> property, BlockState state)
m_323660_(C_2097_<T> p_334050_, C_2064_ arg1)
public <T extends Comparable<T>> T
a(duf<T> arg0)
get(Property<T> arg0)
method_57418(class_2769<T> arg0)
m_dkddhtzv(C_vzlztuyw<T> arg0)
getValue(Property<T> property)
get(Property<T> property)
m_321723_(C_2097_<T> arg0)
public BlockState
a(dtc arg0)
apply(BlockState arg0)
method_57415(class_2680 arg0)
m_agoqpszi(C_txtbiemp arg0)
applyToState(BlockState state)
apply(BlockState state)
m_323904_(C_2064_ arg0)
private static <T extends Comparable<T>> BlockState
a(dtc arg0, duf<T> arg1, String arg2)
updateState(BlockState arg0, Property<T> arg1, String arg2)
method_57417(class_2680 arg0, class_2769<T> arg1, String arg2)
m_pevbtbiq(C_txtbiemp arg0, C_vzlztuyw<T> arg1, String arg2)
applyToState(BlockState state, Property<T> property, String value)
updateState(BlockState state, Property<T> property, String propertyName)
m_319877_(C_2064_ p_335297_, C_2097_<T> p_336285_, String p_328779_)
public boolean
a()
isEmpty()
method_57414()
m_xjtfjxwu()
isEmpty()
isEmpty()
m_322799_()
public Map<String, String>
b()
properties()
comp_2381()
m_bqopmbfo()
properties()
properties()
f_316576_()