Package net.minecraft.loot
Class TableLootEntry.Serializer
java.lang.Object
net.minecraft.loot.LootEntry.Serializer<T>
net.minecraft.loot.StandaloneLootEntry.Serializer<TableLootEntry>
net.minecraft.loot.TableLootEntry.Serializer
- All Implemented Interfaces:
ILootSerializer<TableLootEntry>
- Enclosing class:
- TableLootEntry
public static class TableLootEntry.Serializer
extends StandaloneLootEntry.Serializer<TableLootEntry>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TableLootEntry
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_, TableLootEntry 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_, TableLootEntry p_230422_2_, com.google.gson.JsonSerializationContext p_230422_3_) - Overrides:
serializeCustom
in classStandaloneLootEntry.Serializer<TableLootEntry>
-
deserialize
protected TableLootEntry 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<TableLootEntry>
-