类 LootTableEntry.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • addEntryFields

        public void addEntryFields​(JsonObject jsonObject,
                                   LootTableEntry lootTableEntry,
                                   JsonSerializationContext jsonSerializationContext)
        覆盖:
        addEntryFields 在类中 LeafEntry.Serializer<LootTableEntry>
        Mappings:
        Namespace Name Mixin selector
        official a Ldik$a;a(Lcom/google/gson/JsonObject;Ldik;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_431 Lnet/minecraft/class_83$class_84;method_431(Lcom/google/gson/JsonObject;Lnet/minecraft/class_83;Lcom/google/gson/JsonSerializationContext;)V
        named addEntryFields Lnet/minecraft/loot/entry/LootTableEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LootTableEntry;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        protected LootTableEntry fromJson​(JsonObject jsonObject,
                                          JsonDeserializationContext jsonDeserializationContext,
                                          int int2,
                                          int int3,
                                          LootCondition[] lootCondition,
                                          LootFunction[] lootFunction)
        指定者:
        fromJson 在类中 LeafEntry.Serializer<LootTableEntry>
        Mappings:
        Namespace Name Mixin selector
        official a Ldik$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldkh;[Ldja;)Ldik;
        intermediary method_432 Lnet/minecraft/class_83$class_84;method_432(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_83;
        named fromJson Lnet/minecraft/loot/entry/LootTableEntry$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/LootTableEntry;