类 LocationCheckLootCondition.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           LocationCheckLootCondition locationCheckLootCondition,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<LocationCheckLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkf$a;a(Lcom/google/gson/JsonObject;Ldkf;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_886 Lnet/minecraft/class_205$class_206;method_886(Lcom/google/gson/JsonObject;Lnet/minecraft/class_205;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/condition/LocationCheckLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/LocationCheckLootCondition;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        public LocationCheckLootCondition fromJson​(JsonObject jsonObject,
                                                   JsonDeserializationContext jsonDeserializationContext)
        指定者:
        fromJson 在接口中 JsonSerializer<LocationCheckLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official b Ldkf$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldkf;
        intermediary method_885 Lnet/minecraft/class_205$class_206;method_885(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_205;
        named fromJson Lnet/minecraft/loot/condition/LocationCheckLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/LocationCheckLootCondition;