Class LootPoolSingletonContainer.Serializer<T extends LootPoolSingletonContainer>
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer<T>
- All Implemented Interfaces:
Serializer<T>
- Direct Known Subclasses:
DynamicLoot.Serializer
,EmptyLootItem.Serializer
,LootItem.Serializer
,LootTableReference.Serializer
,TagEntry.Serializer
- Enclosing class:
- LootPoolSingletonContainer
public abstract static class LootPoolSingletonContainer.Serializer<T extends LootPoolSingletonContainer>
extends LootPoolEntryContainer.Serializer<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T
deserialize(com.google.gson.JsonObject p_79744_, com.google.gson.JsonDeserializationContext p_79745_, int p_79746_, int p_79747_, LootItemCondition[] p_79748_, LootItemFunction[] p_79749_)
deserializeCustom(com.google.gson.JsonObject p_79733_, com.google.gson.JsonDeserializationContext p_79734_, LootItemCondition[] p_79735_)
void
serializeCustom(com.google.gson.JsonObject p_79741_, T p_79742_, com.google.gson.JsonSerializationContext p_79743_)
Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer
deserialize, serialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeCustom
public void serializeCustom(com.google.gson.JsonObject p_79741_, T p_79742_, com.google.gson.JsonSerializationContext p_79743_)- Specified by:
serializeCustom
in classLootPoolEntryContainer.Serializer<T extends LootPoolSingletonContainer>
-
deserializeCustom
public final T deserializeCustom(com.google.gson.JsonObject p_79733_, com.google.gson.JsonDeserializationContext p_79734_, LootItemCondition[] p_79735_)- Specified by:
deserializeCustom
in classLootPoolEntryContainer.Serializer<T extends LootPoolSingletonContainer>
-
deserialize
protected abstract T deserialize(com.google.gson.JsonObject p_79744_, com.google.gson.JsonDeserializationContext p_79745_, int p_79746_, int p_79747_, LootItemCondition[] p_79748_, LootItemFunction[] p_79749_)
-