net.minecraft.world.item.component

public record Unbreakable

implements TooltipProvider

cxy
net.minecraft.world.item.component.Unbreakable
net.minecraft.class_9300
net.minecraft.component.type.UnbreakableComponent
net.minecraft.src.C_313271_
net.minecraft.world.item.component.Unbreakable

Field summary

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

Constructor summary

ModifierConstructor
public (boolean arg0)

Method summary

Modifier and TypeMethod
public void
a(cum$b arg0, Consumer<xp> arg1, cwk 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)
m_319025_(C_1381_$C_313602_ p_335134_, Consumer<C_4996_> p_331046_, C_1431_ arg2)
public Unbreakable
a(boolean arg0)
withTooltip(boolean arg0)
method_58435(boolean arg0)
withShowInTooltip(boolean showInTooltip)
m_320618_(boolean arg0)
public boolean
a()
showInTooltip()
comp_2417()
showInTooltip()
f_316777_()