类 BlockStatePropertyLootCondition.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           BlockStatePropertyLootCondition blockStatePropertyLootCondition,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<BlockStatePropertyLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkg$b;a(Lcom/google/gson/JsonObject;Ldkg;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_909 Lnet/minecraft/class_212$class_214;method_909(Lcom/google/gson/JsonObject;Lnet/minecraft/class_212;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

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