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