Interface AdvancementTabGenerator

All Known Implementing Classes:
OneTwentyOneAdventureTabAdvancementGenerator, VanillaAdventureTabAdvancementGenerator, VanillaEndTabAdvancementGenerator, VanillaHusbandryTabAdvancementGenerator, VanillaNetherTabAdvancementGenerator, VanillaStoryTabAdvancementGenerator

public interface AdvancementTabGenerator
Mappings:
Namespace Name
named net/minecraft/data/server/advancement/AdvancementTabGenerator
intermediary net/minecraft/class_7785
official ma
  • Method Details

    • accept

      void accept(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter)
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/data/server/advancement/AdvancementTabGenerator;accept(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Ljava/util/function/Consumer;)V
      intermediary method_10335 Lnet/minecraft/class_7785;method_10335(Lnet/minecraft/class_7225$class_7874;Ljava/util/function/Consumer;)V
      official a Lma;a(Ljk$a;Ljava/util/function/Consumer;)V
    • reference

      static AdvancementEntry reference(String id)
      Returns an advancement to use as a reference in Advancement.Builder.parent(net.minecraft.advancement.AdvancementEntry).

      The returned advancement itself should not be exported.

      Returns:
      an advancement to use as a reference in Advancement.Builder.parent(net.minecraft.advancement.AdvancementEntry)
      Mappings:
      Namespace Name Mixin selector
      named reference Lnet/minecraft/data/server/advancement/AdvancementTabGenerator;reference(Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementEntry;
      intermediary method_55578 Lnet/minecraft/class_7785;method_55578(Ljava/lang/String;)Lnet/minecraft/class_8779;
      official a Lma;a(Ljava/lang/String;)Laf;