Uses of Class
net.minecraft.util.JsonSerializableType
Packages that use JsonSerializableType
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of JsonSerializableType in net.minecraft.loot.condition
Subclasses of JsonSerializableType in net.minecraft.loot.condition -
Uses of JsonSerializableType in net.minecraft.loot.entry
Subclasses of JsonSerializableType in net.minecraft.loot.entry -
Uses of JsonSerializableType in net.minecraft.loot.function
Subclasses of JsonSerializableType in net.minecraft.loot.function -
Uses of JsonSerializableType in net.minecraft.loot.provider.nbt
Subclasses of JsonSerializableType in net.minecraft.loot.provider.nbt -
Uses of JsonSerializableType in net.minecraft.loot.provider.number
Subclasses of JsonSerializableType in net.minecraft.loot.provider.number -
Uses of JsonSerializableType in net.minecraft.loot.provider.score
Subclasses of JsonSerializableType in net.minecraft.loot.provider.score -
Uses of JsonSerializableType in net.minecraft.util
Classes in net.minecraft.util with type parameters of type JsonSerializableTypeModifier and TypeClassDescriptionprivate static class
JsonSerializing.GsonSerializer<E,
T extends JsonSerializableType<E>> static class
JsonSerializing.SerializerBuilder<E,
T extends JsonSerializableType<E>> A builder for serializing types to JSON that can either obtain a type from a registry to handle JSON conversion or handle with a custom logic bound to a type.Fields in net.minecraft.util declared as JsonSerializableTypeModifier and TypeFieldDescriptionprivate final T
JsonSerializing.GsonSerializer.defaultType
private T
JsonSerializing.SerializerBuilder.defaultType
Methods in net.minecraft.util with type parameters of type JsonSerializableTypeModifier and TypeMethodDescriptionstatic <E,
T extends JsonSerializableType<E>>
JsonSerializing.SerializerBuilder<E,T> JsonSerializing.createSerializerBuilder
(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeGetter)