Class JsonSerializableType<T>

java.lang.Object
net.minecraft.util.JsonSerializableType<T>
Direct Known Subclasses:
LootConditionType, LootFunctionType, LootNbtProviderType, LootNumberProviderType, LootPoolEntryType, LootScoreProviderType

public class JsonSerializableType<T> extends Object
Mappings:
Namespace Name
official drm
intermediary net/minecraft/class_5336
named net/minecraft/util/JsonSerializableType
  • Field Details

    • jsonSerializer

      private final JsonSerializer<? extends T> jsonSerializer
      Mappings:
      Namespace Name Mixin selector
      official a Ldrm;a:Ldrl;
      intermediary field_25204 Lnet/minecraft/class_5336;field_25204:Lnet/minecraft/class_5335;
      named jsonSerializer Lnet/minecraft/util/JsonSerializableType;jsonSerializer:Lnet/minecraft/util/JsonSerializer;
  • Constructor Details

    • JsonSerializableType

      public JsonSerializableType(JsonSerializer<? extends T> jsonSerializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrm;<init>(Ldrl;)V
      intermediary <init> Lnet/minecraft/class_5336;<init>(Lnet/minecraft/class_5335;)V
      named <init> Lnet/minecraft/util/JsonSerializableType;<init>(Lnet/minecraft/util/JsonSerializer;)V
  • Method Details

    • getJsonSerializer

      public JsonSerializer<? extends T> getJsonSerializer()
      Mappings:
      Namespace Name Mixin selector
      official a Ldrm;a()Ldrl;
      intermediary method_29312 Lnet/minecraft/class_5336;method_29312()Lnet/minecraft/class_5335;
      named getJsonSerializer Lnet/minecraft/util/JsonSerializableType;getJsonSerializer()Lnet/minecraft/util/JsonSerializer;