Package net.minecraft.text
Class HoverEvent.ItemStackContent
java.lang.Object
net.minecraft.text.HoverEvent.ItemStackContent
- Enclosing class:
- HoverEvent
- Mappings:
Namespace Name official px$c
intermediary net/minecraft/class_2568$class_5249
named net/minecraft/text/HoverEvent$ItemStackContent
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemStackContent
(Item item, int count, @Nullable NbtCompound nbt) ItemStackContent
(ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptionasStack()
boolean
int
hashCode()
private static HoverEvent.ItemStackContent
parse
(JsonElement json) private static @Nullable HoverEvent.ItemStackContent
private JsonElement
toJson()
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official a
Lpx$c;a:Lbtt;
intermediary field_24355
Lnet/minecraft/class_2568$class_5249;field_24355:Lnet/minecraft/class_1792;
named item
Lnet/minecraft/text/HoverEvent$ItemStackContent;item:Lnet/minecraft/item/Item;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official b
Lpx$c;b:I
intermediary field_24356
Lnet/minecraft/class_2568$class_5249;field_24356:I
named count
Lnet/minecraft/text/HoverEvent$ItemStackContent;count:I
-
nbt
- Mappings:
Namespace Name Mixin selector official c
Lpx$c;c:Lob;
intermediary field_24357
Lnet/minecraft/class_2568$class_5249;field_24357:Lnet/minecraft/class_2487;
named nbt
Lnet/minecraft/text/HoverEvent$ItemStackContent;nbt:Lnet/minecraft/nbt/NbtCompound;
-
stack
- Mappings:
Namespace Name Mixin selector official d
Lpx$c;d:Lbtx;
intermediary field_24358
Lnet/minecraft/class_2568$class_5249;field_24358:Lnet/minecraft/class_1799;
named stack
Lnet/minecraft/text/HoverEvent$ItemStackContent;stack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
ItemStackContent
ItemStackContent(Item item, int count, @Nullable @Nullable NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official <init>
Lpx$c;<init>(Lbtt;ILob;)V
intermediary <init>
Lnet/minecraft/class_2568$class_5249;<init>(Lnet/minecraft/class_1792;ILnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/text/HoverEvent$ItemStackContent;<init>(Lnet/minecraft/item/Item;ILnet/minecraft/nbt/NbtCompound;)V
-
ItemStackContent
- Mappings:
Namespace Name Mixin selector official <init>
Lpx$c;<init>(Lbtx;)V
intermediary <init>
Lnet/minecraft/class_2568$class_5249;<init>(Lnet/minecraft/class_1799;)V
named <init>
Lnet/minecraft/text/HoverEvent$ItemStackContent;<init>(Lnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
asStack
- Mappings:
Namespace Name Mixin selector official a
Lpx$c;a()Lbtx;
intermediary method_27683
Lnet/minecraft/class_2568$class_5249;method_27683()Lnet/minecraft/class_1799;
named asStack
Lnet/minecraft/text/HoverEvent$ItemStackContent;asStack()Lnet/minecraft/item/ItemStack;
-
parse
- Mappings:
Namespace Name Mixin selector official a
Lpx$c;a(Lcom/google/gson/JsonElement;)Lpx$c;
intermediary method_27688
Lnet/minecraft/class_2568$class_5249;method_27688(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2568$class_5249;
named parse
Lnet/minecraft/text/HoverEvent$ItemStackContent;parse(Lcom/google/gson/JsonElement;)Lnet/minecraft/text/HoverEvent$ItemStackContent;
-
parse
- Mappings:
Namespace Name Mixin selector official a
Lpx$c;a(Lpt;)Lpx$c;
intermediary method_27689
Lnet/minecraft/class_2568$class_5249;method_27689(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2568$class_5249;
named parse
Lnet/minecraft/text/HoverEvent$ItemStackContent;parse(Lnet/minecraft/text/Text;)Lnet/minecraft/text/HoverEvent$ItemStackContent;
-
toJson
- Mappings:
Namespace Name Mixin selector official b
Lpx$c;b()Lcom/google/gson/JsonElement;
intermediary method_27687
Lnet/minecraft/class_2568$class_5249;method_27687()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/text/HoverEvent$ItemStackContent;toJson()Lcom/google/gson/JsonElement;
-