Class LootTable.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.LootTable.Serializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<LootTable>
,com.google.gson.JsonSerializer<LootTable>
- Enclosing class:
- LootTable
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public LootTable deserialize(com.google.gson.JsonElement p_79173_, Type p_79174_, com.google.gson.JsonDeserializationContext p_79175_) throws com.google.gson.JsonParseException - Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<LootTable>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(LootTable p_79177_, Type p_79178_, com.google.gson.JsonSerializationContext p_79179_) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<LootTable>
-