Class JsonSerializing

java.lang.Object
net.minecraft.util.JsonSerializing

public class JsonSerializing extends Object
Mappings:
Namespace Name
official drd
intermediary net/minecraft/class_5330
named net/minecraft/util/JsonSerializing
  • Constructor Details

    • JsonSerializing

      public JsonSerializing()
  • Method Details

    • createSerializerBuilder

      public static <E, T extends JsonSerializableType<E>> JsonSerializing.SerializerBuilder<E,T> createSerializerBuilder(Registry<T> registry, String rootFieldName, String idFieldName, Function<E,T> typeGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrd;a(Lhm;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Ldrd$a;
      intermediary method_29306 Lnet/minecraft/class_5330;method_29306(Lnet/minecraft/class_2378;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lnet/minecraft/class_5330$class_5331;
      named createSerializerBuilder Lnet/minecraft/util/JsonSerializing;createSerializerBuilder(Lnet/minecraft/util/registry/Registry;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lnet/minecraft/util/JsonSerializing$SerializerBuilder;