net.minecraft.network.chat

public class HoverEvent$ItemStackInfo

yb$c
net.minecraft.network.chat.HoverEvent$ItemStackInfo
net.minecraft.class_2568$class_5249
net.minecraft.text.HoverEvent$ItemStackContent
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
private static final com.mojang.serialization.Codec<HoverEvent$ItemStackInfo>
c
SIMPLE_CODEC
field_49672
ENTRY_BASED_CODEC
public static final com.mojang.serialization.Codec<HoverEvent$ItemStackInfo>
b
CODEC
field_46609
CODEC
private final Holder<Item>
d
item
field_24355
item
private final int
e
count
field_24356
count
private final DataComponentPatch
f
components
field_49673
changes
private ItemStack
g
itemStack
field_24358
stack

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()
private static com.mojang.serialization.DataResult<HoverEvent$ItemStackInfo>
a(xv arg0, alx<?> arg1)
legacyCreate(Component arg0, RegistryOps<?> arg1)
method_54203(class_2561 arg0, class_6903<?> arg1)
legacySerializer(Text text, RegistryOps<?> ops)