Class GsonAdapterFactory.Builder<E,T extends SerializerType<E>>
java.lang.Object
net.minecraft.world.level.storage.loot.GsonAdapterFactory.Builder<E,T>
- Enclosing class:
- GsonAdapterFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withDefaultType(T p_164985_)
withInlineSerializer(T p_164987_, GsonAdapterFactory.InlineSerializer<? extends E> p_164988_)
-
Field Details
-
registry
-
elementName
-
typeKey
-
typeGetter
-
inlineType
@Nullable private com.mojang.datafixers.util.Pair<T extends SerializerType<E>,GsonAdapterFactory.InlineSerializer<? extends E>> inlineType -
defaultType
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withInlineSerializer
public GsonAdapterFactory.Builder<E,T> withInlineSerializer(T p_164987_, GsonAdapterFactory.InlineSerializer<? extends E> p_164988_) -
withDefaultType
-
build
-