net.minecraft.world.item.component

public record Unbreakable

implements TooltipProvider

dat
net.minecraft.world.item.component.Unbreakable
net.minecraft.class_9300
net.minecraft.component.type.UnbreakableComponent
net.minecraft.world.item.component.Unbreakable

Field summary

Modifier and TypeField
private final boolean
c
showInTooltip
comp_2417
showInTooltip
public static final com.mojang.serialization.Codec<Unbreakable>
a
CODEC
field_49366
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, Unbreakable>
b
STREAM_CODEC
field_49367
PACKET_CODEC
private static final Component
d
TOOLTIP
field_49368
TOOLTIP_TEXT

Constructor summary

ModifierConstructor
public (boolean arg0)

Method summary

Modifier and TypeMethod
public void
a(cxl$b arg0, Consumer<xv> arg1, czh arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
public Unbreakable
a(boolean arg0)
withTooltip(boolean arg0)
method_58435(boolean arg0)
withShowInTooltip(boolean showInTooltip)
public boolean
a()
showInTooltip()
comp_2417()
showInTooltip()