Class RandomChanceWithLootingLootCondition.Serializer

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

public static class RandomChanceWithLootingLootCondition.Serializer extends Object implements JsonSerializer<RandomChanceWithLootingLootCondition>
Mappings:
Namespace Name
official dln$a
intermediary net/minecraft/class_225$class_226
named net/minecraft/loot/condition/RandomChanceWithLootingLootCondition$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, RandomChanceWithLootingLootCondition randomChanceWithLootingLootCondition, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<RandomChanceWithLootingLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official a Ldln$a;a(Lcom/google/gson/JsonObject;Ldln;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_955 Lnet/minecraft/class_225$class_226;method_955(Lcom/google/gson/JsonObject;Lnet/minecraft/class_225;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/condition/RandomChanceWithLootingLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/RandomChanceWithLootingLootCondition;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public RandomChanceWithLootingLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<RandomChanceWithLootingLootCondition>
      Mappings:
      Namespace Name Mixin selector
      official b Ldln$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldln;
      intermediary method_956 Lnet/minecraft/class_225$class_226;method_956(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_225;
      named fromJson Lnet/minecraft/loot/condition/RandomChanceWithLootingLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/RandomChanceWithLootingLootCondition;