Class LootPoolEntryContainer.Serializer<T extends LootPoolEntryContainer>
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
- All Implemented Interfaces:
Serializer<T>
- Direct Known Subclasses:
LootPoolSingletonContainer.Serializer
- Enclosing class:
- LootPoolEntryContainer
public abstract static class LootPoolEntryContainer.Serializer<T extends LootPoolEntryContainer>
extends Object
implements Serializer<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_79664_, com.google.gson.JsonDeserializationContext p_79665_)
abstract T
deserializeCustom(com.google.gson.JsonObject p_79666_, com.google.gson.JsonDeserializationContext p_79667_, LootItemCondition[] p_79668_)
void
serialize(com.google.gson.JsonObject p_79670_, T p_79671_, com.google.gson.JsonSerializationContext p_79672_)
abstract void
serializeCustom(com.google.gson.JsonObject p_79656_, T p_79657_, com.google.gson.JsonSerializationContext p_79658_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public final void serialize(com.google.gson.JsonObject p_79670_, T p_79671_, com.google.gson.JsonSerializationContext p_79672_)- Specified by:
serialize
in interfaceSerializer<T extends LootPoolEntryContainer>
-
deserialize
public final T deserialize(com.google.gson.JsonObject p_79664_, com.google.gson.JsonDeserializationContext p_79665_)- Specified by:
deserialize
in interfaceSerializer<T extends LootPoolEntryContainer>
-
serializeCustom
public abstract void serializeCustom(com.google.gson.JsonObject p_79656_, T p_79657_, com.google.gson.JsonSerializationContext p_79658_) -
deserializeCustom
public abstract T deserializeCustom(com.google.gson.JsonObject p_79666_, com.google.gson.JsonDeserializationContext p_79667_, LootItemCondition[] p_79668_)
-