Package net.minecraft.loot
Class ItemLootEntry.Serializer
java.lang.Object
net.minecraft.loot.LootEntry.Serializer<T>
net.minecraft.loot.StandaloneLootEntry.Serializer<ItemLootEntry>
net.minecraft.loot.ItemLootEntry.Serializer
- All Implemented Interfaces:
ILootSerializer<ItemLootEntry>
- Enclosing class:
- ItemLootEntry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ItemLootEntry
deserialize
(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) void
serializeCustom
(com.google.gson.JsonObject p_230422_1_, ItemLootEntry p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_) Methods inherited from class net.minecraft.loot.StandaloneLootEntry.Serializer
deserializeCustom
Methods inherited from class net.minecraft.loot.LootEntry.Serializer
deserialize, serialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeCustom
public void serializeCustom(com.google.gson.JsonObject p_230422_1_, ItemLootEntry p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_) - Overrides:
serializeCustom
in classStandaloneLootEntry.Serializer<ItemLootEntry>
-
deserialize
protected ItemLootEntry deserialize(com.google.gson.JsonObject p_212829_1_, com.google.gson.JsonDeserializationContext p_212829_2_, int p_212829_3_, int p_212829_4_, ILootCondition[] p_212829_5_, ILootFunction[] p_212829_6_) - Specified by:
deserialize
in classStandaloneLootEntry.Serializer<ItemLootEntry>
-