Package net.minecraft.loot
Class DynamicLootEntry.Serializer
java.lang.Object
net.minecraft.loot.LootEntry.Serializer<T>
net.minecraft.loot.StandaloneLootEntry.Serializer<DynamicLootEntry>
net.minecraft.loot.DynamicLootEntry.Serializer
- All Implemented Interfaces:
ILootSerializer<DynamicLootEntry>
- Enclosing class:
- DynamicLootEntry
public static class DynamicLootEntry.Serializer
extends StandaloneLootEntry.Serializer<DynamicLootEntry>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DynamicLootEntry
deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) void
serializeCustom
(com.google.gson.JsonObject p_230422_1_, DynamicLootEntry p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_) Methods inherited from class net.minecraft.loot.StandaloneLootEntry.Serializer
deserializeCustom
Methods inherited from class net.minecraft.loot.LootEntry.Serializer
deserialize, serialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeCustom
public void serializeCustom(com.google.gson.JsonObject p_230422_1_, DynamicLootEntry p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_) - Overrides:
serializeCustom
in classStandaloneLootEntry.Serializer<DynamicLootEntry>
-
deserialize
protected DynamicLootEntry deserialize(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) - Specified by:
deserialize
in classStandaloneLootEntry.Serializer<DynamicLootEntry>
-