类 LeafEntry.Serializer<T extends LeafEntry>

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • addEntryFields

        public void addEntryFields​(JsonObject jsonObject,
                                   T t,
                                   JsonSerializationContext jsonSerializationContext)
        指定者:
        addEntryFields 在类中 LootPoolEntry.Serializer<T extends LeafEntry>
        Mappings:
        Namespace Name Mixin selector
        official a Ldij$e;a(Lcom/google/gson/JsonObject;Ldij;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_442 Lnet/minecraft/class_85$class_90;method_442(Lcom/google/gson/JsonObject;Lnet/minecraft/class_85;Lcom/google/gson/JsonSerializationContext;)V
        named addEntryFields Lnet/minecraft/loot/entry/LeafEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LeafEntry;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        public final T fromJson​(JsonObject jsonObject,
                                JsonDeserializationContext jsonDeserializationContext,
                                LootCondition[] lootCondition)
        指定者:
        fromJson 在类中 LootPoolEntry.Serializer<T extends LeafEntry>
        Mappings:
        Namespace Name Mixin selector
        official a Ldij$e;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldkh;)Ldij;
        intermediary method_441 Lnet/minecraft/class_85$class_90;method_441(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_85;
        named fromJson Lnet/minecraft/loot/entry/LeafEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/entry/LeafEntry;
      • fromJson

        protected abstract T fromJson​(JsonObject entryJson,
                                      JsonDeserializationContext context,
                                      int weight,
                                      int quality,
                                      LootCondition[] conditions,
                                      LootFunction[] functions)
        Mappings:
        Namespace Name Mixin selector
        official b Ldij$e;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldkh;[Ldja;)Ldij;
        intermediary method_443 Lnet/minecraft/class_85$class_90;method_443(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_85;
        named fromJson Lnet/minecraft/loot/entry/LeafEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/loot/condition/LootCondition;[Lnet/minecraft/loot/function/LootFunction;)Lnet/minecraft/loot/entry/LeafEntry;