net.minecraft.world.level.storage.loot.functions

public abstract class LootItemFunction$Serializer<T extends LootItemFunction>

ctf$b
net.minecraft.world.level.storage.loot.functions.LootItemFunction$Serializer
net.minecraft.class_117$class_119
net.minecraft.loot.function.LootFunction$Factory
net.minecraft.world.storage.loot.functions.ILootFunction$Serializer
net.minecraft.server.v1_15_R1.LootItemFunction$b

Field summary

Modifier and TypeField
private final ResourceLocation
a
name
field_1045
id
field_186533_a
private final Class<T>
b
clazz
field_1046
functionClass
field_186534_b

Constructor summary

ModifierConstructor
protected (ResourceLocation id, Class<T> clazz)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getName()
method_518()
getId()
func_186529_a()
public Class<T>
b()
getFunctionClass()
method_519()
getFunctionClass()
func_186531_b()
public abstract 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 function, com.google.gson.JsonSerializationContext context)
func_186532_a(com.google.gson.JsonObject arg0, T arg1, com.google.gson.JsonSerializationContext arg2)
public abstract T
b(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_212870_b_(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)