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
public static class LootTableEntry.Serializer extends LeafEntry.Serializer<LootTableEntry>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description void
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>
-
fromJson
protected LootTableEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)- Specified by:
fromJson
in classLeafEntry.Serializer<LootTableEntry>
-