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 eai$a
intermediary net/minecraft/class_83$class_84
named net/minecraft/loot/entry/LootTableEntry$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryFields
(JsonObject jsonObject, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext) protected LootTableEntry
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, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext) - Overrides:
addEntryFields
in classLeafEntry.Serializer<LootTableEntry>
- Mappings:
Namespace Name Mixin selector official a
Leai$a;a(Lcom/google/gson/JsonObject;Leai;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_431
Lnet/minecraft/class_83$class_84;method_431(Lcom/google/gson/JsonObject;Lnet/minecraft/class_83;Lcom/google/gson/JsonSerializationContext;)V
named addEntryFields
Lnet/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:
fromJson
in classLeafEntry.Serializer<LootTableEntry>
- Mappings:
Namespace Name Mixin selector official a
Leai$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Leck;[Leaz;)Leai;
intermediary method_432
Lnet/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 fromJson
Lnet/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;
-