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 dhl$cintermediary net/minecraft/class_42$class_62named net/minecraft/loot/operator/BoundedIntUnaryOperator$Serializer
-
Constructor Summary
Constructors Constructor Description Serializer() -
Method Summary
Modifier and Type Method Description BoundedIntUnaryOperatordeserialize(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 aLdhl$c;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldhl;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 aLdhl$c;a(Ldhl;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;
-