Class LootTableReference.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer<LootTableReference>
net.minecraft.world.level.storage.loot.entries.LootTableReference.Serializer
- All Implemented Interfaces:
Serializer<LootTableReference>
- Enclosing class:
- LootTableReference
public static class LootTableReference.Serializer
extends LootPoolSingletonContainer.Serializer<LootTableReference>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LootTableReference
deserialize(com.google.gson.JsonObject p_79786_, com.google.gson.JsonDeserializationContext p_79787_, int p_79788_, int p_79789_, LootItemCondition[] p_79790_, LootItemFunction[] p_79791_)
void
serializeCustom(com.google.gson.JsonObject p_79801_, LootTableReference p_79802_, com.google.gson.JsonSerializationContext p_79803_)
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_79801_, LootTableReference p_79802_, com.google.gson.JsonSerializationContext p_79803_)- Overrides:
serializeCustom
in classLootPoolSingletonContainer.Serializer<LootTableReference>
-
deserialize
protected LootTableReference deserialize(com.google.gson.JsonObject p_79786_, com.google.gson.JsonDeserializationContext p_79787_, int p_79788_, int p_79789_, LootItemCondition[] p_79790_, LootItemFunction[] p_79791_)- Specified by:
deserialize
in classLootPoolSingletonContainer.Serializer<LootTableReference>
-