net.minecraft.component.type

public record SulfurCubeContentComponent

implements TooltipAppender

net.minecraft.world.item.component.SulfurCubeContent
net.minecraft.class_1_745
net.minecraft.component.type.SulfurCubeContentComponent

Field summary

Modifier and TypeField
private final SimpleItemStackView
absorbedBlockItemStack
comp_1_564
absorbedBlockItemStack
public static final com.mojang.serialization.Codec<SulfurCubeContentComponent>
CODEC
field_1_3771
CODEC
public static final PacketCodec<RegistryByteBuf, SulfurCubeContentComponent>
STREAM_CODEC
field_1_3772
PACKET_CODEC

Constructor summary

ModifierConstructor
public (SimpleItemStackView absorbedBlockItemStack)

Method summary

Modifier and TypeMethod
public static SulfurCubeContentComponent
ofNonEmpty(ItemStack itemStack)
method_1_4490(class_1799 arg0)
of(ItemStack contents)
public void
addToTooltip(Item$TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2, ComponentsAccess arg3)
public SimpleItemStackView
absorbedBlockItemStack()
comp_1_564()
absorbedBlockItemStack()