Package net.minecraft.loot
Class LootEntry.Serializer<T extends LootEntry>
- java.lang.Object
-
- net.minecraft.loot.LootEntry.Serializer<T>
-
- All Implemented Interfaces:
ILootSerializer<T>
- Direct Known Subclasses:
StandaloneLootEntry.Serializer
- Enclosing class:
- LootEntry
public abstract static class LootEntry.Serializer<T extends LootEntry> extends java.lang.Object implements ILootSerializer<T>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
deserialize(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_)
abstract T
deserializeCustom(com.google.gson.JsonObject p_230421_1_, com.google.gson.JsonDeserializationContext p_230421_2_, ILootCondition[] p_230421_3_)
void
serialize(com.google.gson.JsonObject p_230424_1_, T p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)
abstract void
serializeCustom(com.google.gson.JsonObject p_230422_1_, T p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_)
-
-
-
Method Detail
-
serialize
public final void serialize(com.google.gson.JsonObject p_230424_1_, T p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)
- Specified by:
serialize
in interfaceILootSerializer<T extends LootEntry>
-
deserialize
public final T deserialize(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_)
- Specified by:
deserialize
in interfaceILootSerializer<T extends LootEntry>
-
serializeCustom
public abstract void serializeCustom(com.google.gson.JsonObject p_230422_1_, T p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_)
-
deserializeCustom
public abstract T deserializeCustom(com.google.gson.JsonObject p_230421_1_, com.google.gson.JsonDeserializationContext p_230421_2_, ILootCondition[] p_230421_3_)
-
-