Package net.minecraft.loot.entry
Class ItemEntry.Serializer
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
net.minecraft.loot.entry.LeafEntry.Serializer<ItemEntry>
net.minecraft.loot.entry.ItemEntry.Serializer
- All Implemented Interfaces:
JsonSerializer<ItemEntry>
- Enclosing class:
ItemEntry
- Mappings:
Namespace Name official drv$a
intermediary net/minecraft/class_77$class_78
named net/minecraft/loot/entry/ItemEntry$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryFields
(JsonObject jsonObject, ItemEntry itemEntry, JsonSerializationContext jsonSerializationContext) protected ItemEntry
fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) Methods inherited from class net.minecraft.loot.entry.LeafEntry.Serializer
fromJson
Methods inherited from class net.minecraft.loot.entry.LootPoolEntry.Serializer
fromJson, toJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
addEntryFields
public void addEntryFields(JsonObject jsonObject, ItemEntry itemEntry, JsonSerializationContext jsonSerializationContext) - Overrides:
addEntryFields
in classLeafEntry.Serializer<ItemEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldrv$a;a(Lcom/google/gson/JsonObject;Ldrv;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_412
Lnet/minecraft/class_77$class_78;method_412(Lcom/google/gson/JsonObject;Lnet/minecraft/class_77;Lcom/google/gson/JsonSerializationContext;)V
named addEntryFields
Lnet/minecraft/loot/entry/ItemEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/ItemEntry;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
protected ItemEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) - Specified by:
fromJson
in classLeafEntry.Serializer<ItemEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldrv$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldua;[Ldsr;)Ldrv;
intermediary method_413
Lnet/minecraft/class_77$class_78;method_413(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_77;
named fromJson
Lnet/minecraft/loot/entry/ItemEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/loot/condition/LootCondition;[Lnet/minecraft/loot/function/LootFunction;)Lnet/minecraft/loot/entry/ItemEntry;
-