Package net.minecraft.loot.entry
Class LootTableEntry.Serializer
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
net.minecraft.loot.entry.LeafEntry.Serializer<LootTableEntry>
net.minecraft.loot.entry.LootTableEntry.Serializer
- All Implemented Interfaces:
JsonSerializer<LootTableEntry>
- Enclosing class:
LootTableEntry
- Mappings:
Namespace Name official eaf$aintermediary net/minecraft/class_83$class_84named net/minecraft/loot/entry/LootTableEntry$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntryFields(JsonObject jsonObject, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext) protected LootTableEntryfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) Methods inherited from class net.minecraft.loot.entry.LeafEntry.Serializer
fromJsonMethods inherited from class net.minecraft.loot.entry.LootPoolEntry.Serializer
fromJson, toJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
addEntryFields
public void addEntryFields(JsonObject jsonObject, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext) - Overrides:
addEntryFieldsin classLeafEntry.Serializer<LootTableEntry>- Mappings:
Namespace Name Mixin selector official aLeaf$a;a(Lcom/google/gson/JsonObject;Leaf;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_431Lnet/minecraft/class_83$class_84;method_431(Lcom/google/gson/JsonObject;Lnet/minecraft/class_83;Lcom/google/gson/JsonSerializationContext;)Vnamed addEntryFieldsLnet/minecraft/loot/entry/LootTableEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LootTableEntry;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
protected LootTableEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) - Specified by:
fromJsonin classLeafEntry.Serializer<LootTableEntry>- Mappings:
Namespace Name Mixin selector official aLeaf$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lech;[Leaw;)Leaf;intermediary method_432Lnet/minecraft/class_83$class_84;method_432(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_83;named fromJsonLnet/minecraft/loot/entry/LootTableEntry$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/LootTableEntry;
-