net.minecraft.world.level.storage.loot

public interface Serializer<T>

czb
net.minecraft.world.level.storage.loot.Serializer
net.minecraft.class_5335
net.minecraft.util.JsonSerializer
net.minecraft.loot.ILootSerializer
net.minecraft.server.v1_16_R2.LootSerializer

Method summary

Modifier and TypeMethod
void
a(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
serialize(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
method_516(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
toJson(com.google.gson.JsonObject json, T object, com.google.gson.JsonSerializationContext context)
func_230424_a_(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
T
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_517(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
func_230423_a_(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)