net.minecraft.world.level.storage.loot

public class GsonAdapterFactory$Builder<E, T extends SerializerType<E>>

dsa$a
net.minecraft.world.level.storage.loot.GsonAdapterFactory$Builder
net.minecraft.class_5330$class_5331
net.minecraft.util.JsonSerializing$SerializerBuilder
net.minecraft.src.C_2805_
net.minecraft.world.level.storage.loot.JsonRegistry$a

Field summary

Modifier and TypeField
private final Registry<T>
a
registry
field_25192
registry
f_78806_
private final String
b
elementName
field_25193
rootFieldName
f_78807_
private final String
c
typeKey
field_25194
idFieldName
f_78808_
private final Function<E, T>
d
typeGetter
field_25195
typeGetter
f_78809_
private com.mojang.datafixers.util.Pair<T, GsonAdapterFactory$InlineSerializer<? extends E>>
e
inlineType
field_25196
elementSerializer
f_164983_
private T
f
defaultType
field_28444
defaultType
f_78810_

Constructor summary

ModifierConstructor
(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeIdentification)

Method summary

Modifier and TypeMethod
public GsonAdapterFactory$Builder<E, T>
a(T arg0, dsa$b<? extends E> arg1)
withInlineSerializer(T arg0, GsonAdapterFactory$InlineSerializer<? extends E> arg1)
method_32385(T arg0, class_5330$class_5332<? extends E> arg1)
elementSerializer(T type, JsonSerializing$ElementSerializer<? extends E> serializer)
m_164986_(T p_164988_, C_141455_<? extends E> arg1)
public GsonAdapterFactory$Builder<E, T>
a(T arg0)
withDefaultType(T arg0)
method_33409(T arg0)
defaultType(T defaultType)
m_164984_(T arg0)
public Object
a()
build()
method_29307()
build()
m_78822_()