Package net.minecraft.loot
Class TagLootEntry.Serializer
- java.lang.Object
-
- net.minecraft.loot.LootEntry.Serializer<T>
-
- net.minecraft.loot.StandaloneLootEntry.Serializer<TagLootEntry>
-
- net.minecraft.loot.TagLootEntry.Serializer
-
- All Implemented Interfaces:
ILootSerializer<TagLootEntry>
- Enclosing class:
- TagLootEntry
public static class TagLootEntry.Serializer extends StandaloneLootEntry.Serializer<TagLootEntry>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TagLootEntry
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_, TagLootEntry 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
-
-
-
-
Method Detail
-
serializeCustom
public void serializeCustom(com.google.gson.JsonObject p_230422_1_, TagLootEntry p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_)
- Overrides:
serializeCustom
in classStandaloneLootEntry.Serializer<TagLootEntry>
-
deserialize
protected TagLootEntry 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<TagLootEntry>
-
-