Class BoundedIntUnaryOperator.Serializer

java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator.Serializer
All Implemented Interfaces:
JsonDeserializer<BoundedIntUnaryOperator>, JsonSerializer<BoundedIntUnaryOperator>
Enclosing class:
BoundedIntUnaryOperator

public static class BoundedIntUnaryOperator.Serializer extends Object implements JsonDeserializer<BoundedIntUnaryOperator>, JsonSerializer<BoundedIntUnaryOperator>
Mappings:
Namespace Name
official dre$c
intermediary net/minecraft/class_42$class_62
named net/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • deserialize

      public BoundedIntUnaryOperator deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      deserialize in interface JsonDeserializer<BoundedIntUnaryOperator>
      Mappings:
      Namespace Name Mixin selector
      official a Ldre$c;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldre;
      intermediary method_381 Lnet/minecraft/class_42$class_62;method_381(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_42;
      named deserialize Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
    • serialize

      public JsonElement serialize(BoundedIntUnaryOperator boundedIntUnaryOperator, Type type, JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface JsonSerializer<BoundedIntUnaryOperator>
      Mappings:
      Namespace Name Mixin selector
      official a Ldre$c;a(Ldre;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_382 Lnet/minecraft/class_42$class_62;method_382(Lnet/minecraft/class_42;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer;serialize(Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;