类 ContextLootScoreProvider.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           ContextLootScoreProvider contextLootScoreProvider,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<ContextLootScoreProvider>
        Mappings:
        Namespace Name Mixin selector
        official a Ldlh$b;a(Lcom/google/gson/JsonObject;Ldlh;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_32470 Lnet/minecraft/class_5664$class_5666;method_32470(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5664;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        public ContextLootScoreProvider fromJson​(JsonObject jsonObject,
                                                 JsonDeserializationContext jsonDeserializationContext)
        指定者:
        fromJson 在接口中 JsonSerializer<ContextLootScoreProvider>
        Mappings:
        Namespace Name Mixin selector
        official b Ldlh$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldlh;
        intermediary method_32471 Lnet/minecraft/class_5664$class_5666;method_32471(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5664;
        named fromJson Lnet/minecraft/loot/provider/score/ContextLootScoreProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/score/ContextLootScoreProvider;