Uses of Class
net.minecraft.util.JsonSerializableType
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of JsonSerializableType in net.minecraft.loot.condition
-
Uses of JsonSerializableType in net.minecraft.loot.entry
-
Uses of JsonSerializableType in net.minecraft.loot.function
-
Uses of JsonSerializableType in net.minecraft.loot.provider.nbt
-
Uses of JsonSerializableType in net.minecraft.loot.provider.number
-
Uses of JsonSerializableType in net.minecraft.loot.provider.score
-
Uses of JsonSerializableType in net.minecraft.util
Modifier 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.Modifier and TypeFieldDescriptionprivate final T
JsonSerializing.GsonSerializer.defaultType
private T
JsonSerializing.SerializerBuilder.defaultType
Modifier and TypeMethodDescriptionstatic <E,
T extends JsonSerializableType<E>>
JsonSerializing.SerializerBuilder<E,T> JsonSerializing.createSerializerBuilder
(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeGetter)