类 ContextLootNbtProvider.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           ContextLootNbtProvider contextLootNbtProvider,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<ContextLootNbtProvider>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkt$c;a(Lcom/google/gson/JsonObject;Ldkt;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_32437 Lnet/minecraft/class_5646$class_5649;method_32437(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5646;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        public ContextLootNbtProvider fromJson​(JsonObject jsonObject,
                                               JsonDeserializationContext jsonDeserializationContext)
        指定者:
        fromJson 在接口中 JsonSerializer<ContextLootNbtProvider>
        Mappings:
        Namespace Name Mixin selector
        official b Ldkt$c;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldkt;
        intermediary method_32438 Lnet/minecraft/class_5646$class_5649;method_32438(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5646;
        named fromJson Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;