net.minecraft.world.item.component

public record ItemLore

implements TooltipProvider

dai
net.minecraft.world.item.component.ItemLore
net.minecraft.class_9290
net.minecraft.unmapped.C_zzkbopci
net.minecraft.component.type.LoreComponent
net.minecraft.component.type.LoreComponent
net.minecraft.src.C_313731_
net.minecraft.world.item.component.ItemLore

Field summary

Modifier and TypeField
private final List<Component>
e
lines
comp_2400
f_eaydxjpe
lines
lines
f_316209_
private final List<Component>
f
styledLines
comp_2401
f_xiunqdpk
styledLines
styledLines
f_317111_
public static final ItemLore
a
EMPTY
field_49340
f_blgpljun
DEFAULT
DEFAULT
f_315439_
public static final int
b
MAX_LINES
field_49343
f_qvfuvyyv
MAX_LORES
MAX_LINES
f_314243_
private static final Style
g
LORE_STYLE
field_49344
f_gwotrnst
STYLE
STYLE
f_316791_
public static final com.mojang.serialization.Codec<ItemLore>
c
CODEC
field_49341
f_khvtxpxx
CODEC
CODEC
f_316205_
public static final StreamCodec<RegistryFriendlyByteBuf, ItemLore>
d
STREAM_CODEC
field_49342
f_pvptpbty
PACKET_CODEC
PACKET_CODEC
f_316332_

Constructor summary

ModifierConstructor
public (List<Component> lines)
public (List<Component> lines, List<Component> styledLines)

Method summary

Modifier and TypeMethod
public ItemLore
a(xv arg0)
withLineAdded(Component arg0)
method_57499(class_2561 arg0)
m_ajemqxcn(C_rdaqiwdt arg0)
with(Text line)
of(Text line)
m_320019_(C_4996_ arg0)
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)
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_332607_, Consumer<C_4996_> p_328590_, C_1431_ arg2)
public List<Component>
a()
lines()
comp_2400()
m_cqzsywis()
lines()
lines()
f_316209_()
public List<Component>
b()
styledLines()
comp_2401()
m_nbthtyrl()
styledLines()
styledLines()
f_317111_()