Package net.minecraft.loot.operator
Class BoundedIntUnaryOperator.Serializer
java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator.Serializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<BoundedIntUnaryOperator>,com.google.gson.JsonSerializer<BoundedIntUnaryOperator>
- Enclosing class:
BoundedIntUnaryOperator
public static class BoundedIntUnaryOperator.Serializer
extends Object
implements com.google.gson.JsonDeserializer<BoundedIntUnaryOperator>, com.google.gson.JsonSerializer<BoundedIntUnaryOperator>
- Mappings:
Namespace Name official dwz$cintermediary net/minecraft/class_42$class_62named net/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) com.google.gson.JsonElementserialize(BoundedIntUnaryOperator boundedIntUnaryOperator, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public BoundedIntUnaryOperator deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) - Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<BoundedIntUnaryOperator>- Mappings:
Namespace Name Mixin selector official aLdwz$c;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldwz;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 com.google.gson.JsonElement serialize(BoundedIntUnaryOperator boundedIntUnaryOperator, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) - Specified by:
serializein interfacecom.google.gson.JsonSerializer<BoundedIntUnaryOperator>- Mappings:
Namespace Name Mixin selector official aLdwz$c;a(Ldwz;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;
-