Class AlternativeLootCondition.Serializer

java.lang.Object
net.minecraft.loot.condition.AlternativeLootCondition.Serializer
All Implemented Interfaces:
JsonSerializer<AlternativeLootCondition>
Enclosing class:
AlternativeLootCondition

public static class AlternativeLootCondition.Serializer extends Object implements JsonSerializer<AlternativeLootCondition>
Mappings:
Namespace Name
official dnl$b
intermediary net/minecraft/class_186$class_188
named net/minecraft/loot/condition/AlternativeLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, AlternativeLootCondition alternativeLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<AlternativeLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldnl$b;a(Lcom/google/gson/JsonObject;Ldnl;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_828 Lnet/minecraft/class_186$class_188;method_828(Lcom/google/gson/JsonObject;Lnet/minecraft/class_186;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/AlternativeLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/AlternativeLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public AlternativeLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<AlternativeLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldnl$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldnl;
      intermediary method_829 Lnet/minecraft/class_186$class_188;method_829(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_186;
      named fromJson Lnet/minecraft/loot/condition/AlternativeLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/AlternativeLootCondition;