类 BoundedIntUnaryOperator.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • deserialize

        public BoundedIntUnaryOperator deserialize​(JsonElement jsonElement,
                                                   Type type,
                                                   JsonDeserializationContext jsonDeserializationContext)
        指定者:
        deserialize 在接口中 JsonDeserializer<BoundedIntUnaryOperator>
        Mappings:
        Namespace Name Mixin selector
        official a Ldhn$c;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ldhn;
        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)
        指定者:
        serialize 在接口中 JsonSerializer<BoundedIntUnaryOperator>
        Mappings:
        Namespace Name Mixin selector
        official a Ldhn$c;a(Ldhn;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;