net.minecraft.network.chat

public class HoverEvent$ItemStackInfo

xf$c
net.minecraft.network.chat.HoverEvent$ItemStackInfo
net.minecraft.class_2568$class_5249
net.minecraft.text.HoverEvent$ItemStackContent
net.minecraft.src.C_5007_$C_5010_
net.minecraft.network.chat.ChatHoverable$c

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<HoverEvent$ItemStackInfo>
a
FULL_CODEC
field_46608
ITEM_STACK_CODEC
f_303661_
private static final com.mojang.serialization.Codec<HoverEvent$ItemStackInfo>
c
SIMPLE_CODEC
field_49672
ENTRY_BASED_CODEC
f_313999_
public static final com.mojang.serialization.Codec<HoverEvent$ItemStackInfo>
b
CODEC
field_46609
CODEC
f_303860_
private final Holder<Item>
d
item
field_24355
item
f_130888_
private final int
e
count
field_24356
count
f_130889_
private final DataComponentPatch
f
components
field_49673
changes
f_316124_
private ItemStack
g
itemStack
field_24358
stack
f_130891_

Constructor summary

ModifierConstructor
(Holder<Item> item, int count, DataComponentPatch changes)
public (ItemStack stack)

Method summary

Modifier and TypeMethod
public ItemStack
a()
getItemStack()
method_27683()
asStack()
m_130898_()
private static com.mojang.serialization.DataResult<HoverEvent$ItemStackInfo>
a(wz arg0, akp<?> arg1)
legacyCreate(Component arg0, RegistryOps<?> arg1)
method_54203(class_2561 arg0, class_6903<?> arg1)
legacySerializer(Text text, RegistryOps<?> ops)
m_305901_(C_4996_ p_309792_, C_203255_<?> p_329820_)