net.minecraft.world.item.component

public record BlockItemStateProperties

implements TooltipProvider

dda
net.minecraft.world.item.component.BlockItemStateProperties
net.minecraft.class_9275

Field summary

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

Constructor summary

ModifierConstructor
public (Map<String, String> arg0)

Method summary

Modifier and TypeMethod
public <T extends Comparable<T>> BlockItemStateProperties
a(edj<T> arg0, T arg1)
with(Property<T> arg0, T arg1)
method_57420(class_2769<T> arg0, T arg1)
public <T extends Comparable<T>> BlockItemStateProperties
a(edj<T> arg0, ecg arg1)
with(Property<T> arg0, BlockState arg1)
method_57419(class_2769<T> arg0, class_2680 arg1)
public <T extends Comparable<T>> T
a(edj<T> arg0)
get(Property<T> arg0)
method_57418(class_2769<T> arg0)
public BlockState
a(ecg arg0)
apply(BlockState arg0)
method_57415(class_2680 arg0)
private static <T extends Comparable<T>> BlockState
a(ecg arg0, edj<T> arg1, String arg2)
updateState(BlockState arg0, Property<T> arg1, String arg2)
method_57417(class_2680 arg0, class_2769<T> arg1, String arg2)
public boolean
a()
isEmpty()
method_57414()
public void
a(daw$b arg0, Consumer<xk> arg1, dcp arg2, ki arg3)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2, DataComponentGetter arg3)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
public Map<String, String>
b()
properties()
comp_2381()