类 WeatherCheckLootCondition.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           WeatherCheckLootCondition weatherCheckLootCondition,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<WeatherCheckLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkr$b;a(Lcom/google/gson/JsonObject;Ldkr;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_960 Lnet/minecraft/class_227$class_228;method_960(Lcom/google/gson/JsonObject;Lnet/minecraft/class_227;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/condition/WeatherCheckLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/WeatherCheckLootCondition;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        public WeatherCheckLootCondition fromJson​(JsonObject jsonObject,
                                                  JsonDeserializationContext jsonDeserializationContext)
        指定者:
        fromJson 在接口中 JsonSerializer<WeatherCheckLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official b Ldkr$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldkr;
        intermediary method_961 Lnet/minecraft/class_227$class_228;method_961(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_227;
        named fromJson Lnet/minecraft/loot/condition/WeatherCheckLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/WeatherCheckLootCondition;