Class DynamicLoot.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer<DynamicLoot>
net.minecraft.world.level.storage.loot.entries.DynamicLoot.Serializer
- All Implemented Interfaces:
Serializer<DynamicLoot>
- Enclosing class:
- DynamicLoot
public static class DynamicLoot.Serializer
extends LootPoolSingletonContainer.Serializer<DynamicLoot>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DynamicLoot
deserialize(com.google.gson.JsonObject p_79493_, com.google.gson.JsonDeserializationContext p_79494_, int p_79495_, int p_79496_, LootItemCondition[] p_79497_, LootItemFunction[] p_79498_)
void
serializeCustom(com.google.gson.JsonObject p_79500_, DynamicLoot p_79501_, com.google.gson.JsonSerializationContext p_79502_)
Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer
deserializeCustom
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_79500_, DynamicLoot p_79501_, com.google.gson.JsonSerializationContext p_79502_)- Overrides:
serializeCustom
in classLootPoolSingletonContainer.Serializer<DynamicLoot>
-
deserialize
protected DynamicLoot deserialize(com.google.gson.JsonObject p_79493_, com.google.gson.JsonDeserializationContext p_79494_, int p_79495_, int p_79496_, LootItemCondition[] p_79497_, LootItemFunction[] p_79498_)- Specified by:
deserialize
in classLootPoolSingletonContainer.Serializer<DynamicLoot>
-