Package net.minecraft.loot.operator
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 dzg$cintermediary net/minecraft/class_42$class_62named net/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize(BoundedIntUnaryOperator boundedIntUnaryOperator, Type type, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public BoundedIntUnaryOperator deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) - Specified by:
deserializein interfaceJsonDeserializer<BoundedIntUnaryOperator>- Mappings:
Namespace Name Mixin selector official aLdzg$c;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldzg;intermediary method_381Lnet/minecraft/class_42$class_62;method_381(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_42;named deserializeLnet/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:
serializein interfaceJsonSerializer<BoundedIntUnaryOperator>- Mappings:
Namespace Name Mixin selector official aLdzg$c;a(Ldzg;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_382Lnet/minecraft/class_42$class_62;method_382(Lnet/minecraft/class_42;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named serializeLnet/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer;serialize(Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-