net.minecraft.world.item.component

public record Unbreakable

implements TooltipProvider

cxz
net.minecraft.world.item.component.Unbreakable
net.minecraft.class_9300
net.minecraft.unmapped.C_drqhpkfg
net.minecraft.component.type.UnbreakableComponent
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
f_ivwonplx
showInTooltip
shownInTooltip
f_316777_
public static final com.mojang.serialization.Codec<Unbreakable>
a
CODEC
field_49366
f_icrczhcn
CODEC
CODEC
f_316475_
public static final StreamCodec<io.netty.buffer.ByteBuf, Unbreakable>
b
STREAM_CODEC
field_49367
f_ablxqbop
PACKET_CODEC
PACKET_CODEC
f_315219_
private static final Component
d
TOOLTIP
field_49368
f_iaeyiyom
TOOLTIP_TEXT
TOOLTIP
f_317030_

Constructor summary

ModifierConstructor
public (boolean shownInTooltip)

Method summary

Modifier and TypeMethod
public void
a(cul$b arg0, Consumer<wz> arg1, cwm arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
m_eqoeoqpg(C_vorddnax$C_rdhfmrgz arg0, Consumer<C_rdaqiwdt> arg1, C_taebrtdw arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
appendToTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipConfig 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)
m_nrzkdjww(boolean arg0)
withShowInTooltip(boolean showInTooltip)
create(boolean shownInTooltip)
m_320618_(boolean arg0)
public boolean
a()
showInTooltip()
comp_2417()
m_nnvtyjlt()
showInTooltip()
shownInTooltip()
f_316777_()