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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected LootItemdeserialize(com.google.gson.JsonObject p_79594_, com.google.gson.JsonDeserializationContext p_79595_, int p_79596_, int p_79597_, LootItemCondition[] p_79598_, LootItemFunction[] p_79599_) voidserializeCustom(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
deserializeCustomMethods 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:
 serializeCustomin 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:
 deserializein classLootPoolSingletonContainer.Serializer<LootItem>
 
 -