Interface AdvancementTabGenerator

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

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

    • accept

      void accept(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter)
      Mappings:
      Namespace Name Mixin selector
      official a Lko;a(Lij$b;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
      named accept Lnet/minecraft/data/server/advancement/AdvancementTabGenerator;accept(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;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
      official a Lko;a(Ljava/lang/String;)Laf;
      intermediary method_55578 Lnet/minecraft/class_7785;method_55578(Ljava/lang/String;)Lnet/minecraft/class_8779;
      named reference Lnet/minecraft/data/server/advancement/AdvancementTabGenerator;reference(Ljava/lang/String;)Lnet/minecraft/advancement/AdvancementEntry;