Package net.minecraft.loot.entry
Class TagEntry.Serializer
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
net.minecraft.loot.entry.LeafEntry.Serializer<TagEntry>
net.minecraft.loot.entry.TagEntry.Serializer
- All Implemented Interfaces:
JsonSerializer<TagEntry>
- Enclosing class:
- TagEntry
public static class TagEntry.Serializer extends LeafEntry.Serializer<TagEntry>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description void
addEntryFields(JsonObject jsonObject, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext)
protected TagEntry
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, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext)- Overrides:
addEntryFields
in classLeafEntry.Serializer<TagEntry>
-
fromJson
protected TagEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)- Specified by:
fromJson
in classLeafEntry.Serializer<TagEntry>
-