Class LootItem.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer<LootItem>
net.minecraft.world.level.storage.loot.entries.LootItem.Serializer
- All Implemented Interfaces:
Serializer<LootItem>
- Enclosing class:
- LootItem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LootItem
deserialize
(com.google.gson.JsonObject p_79594_, com.google.gson.JsonDeserializationContext p_79595_, int p_79596_, int p_79597_, LootItemCondition[] p_79598_, LootItemFunction[] p_79599_) void
serializeCustom
(com.google.gson.JsonObject p_79601_, LootItem p_79602_, com.google.gson.JsonSerializationContext p_79603_) 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_79601_, LootItem p_79602_, com.google.gson.JsonSerializationContext p_79603_) - Overrides:
serializeCustom
in classLootPoolSingletonContainer.Serializer<LootItem>
-
deserialize
protected LootItem deserialize(com.google.gson.JsonObject p_79594_, com.google.gson.JsonDeserializationContext p_79595_, int p_79596_, int p_79597_, LootItemCondition[] p_79598_, LootItemFunction[] p_79599_) - Specified by:
deserialize
in classLootPoolSingletonContainer.Serializer<LootItem>
-