Class TagEntry.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer<TagEntry>
net.minecraft.world.level.storage.loot.entries.TagEntry.Serializer
- All Implemented Interfaces:
Serializer<TagEntry>
- Enclosing class:
- TagEntry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TagEntry
deserialize
(com.google.gson.JsonObject p_79873_, com.google.gson.JsonDeserializationContext p_79874_, int p_79875_, int p_79876_, LootItemCondition[] p_79877_, LootItemFunction[] p_79878_) void
serializeCustom
(com.google.gson.JsonObject p_79888_, TagEntry p_79889_, com.google.gson.JsonSerializationContext p_79890_) 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_79888_, TagEntry p_79889_, com.google.gson.JsonSerializationContext p_79890_) - Overrides:
serializeCustom
in classLootPoolSingletonContainer.Serializer<TagEntry>
-
deserialize
protected TagEntry deserialize(com.google.gson.JsonObject p_79873_, com.google.gson.JsonDeserializationContext p_79874_, int p_79875_, int p_79876_, LootItemCondition[] p_79877_, LootItemFunction[] p_79878_) - Specified by:
deserialize
in classLootPoolSingletonContainer.Serializer<TagEntry>
-