Class VanillaAdventureTabAdvancementGenerator

java.lang.Object
net.minecraft.data.server.advancement.vanilla.VanillaAdventureTabAdvancementGenerator
All Implemented Interfaces:
AdvancementTabGenerator

public class VanillaAdventureTabAdvancementGenerator extends Object implements AdvancementTabGenerator
Mappings:
Namespace Name
official jr
intermediary net/minecraft/class_2412
named net/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator
  • Field Details

    • OVERWORLD_HEIGHT

      private static final int OVERWORLD_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a:I
      intermediary field_35091 Lnet/minecraft/class_2412;field_35091:I
      named OVERWORLD_HEIGHT Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;OVERWORLD_HEIGHT:I
    • OVERWORLD_MAX_Y

      private static final int OVERWORLD_MAX_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ljr;b:I
      intermediary field_35092 Lnet/minecraft/class_2412;field_35092:I
      named OVERWORLD_MAX_Y Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;OVERWORLD_MAX_Y:I
    • OVERWORLD_MIN_Y

      private static final int OVERWORLD_MIN_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ljr;c:I
      intermediary field_35093 Lnet/minecraft/class_2412;field_35093:I
      named OVERWORLD_MIN_Y Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;OVERWORLD_MIN_Y:I
    • OVERWORLD_BEDROCK_LAYER_HEIGHT

      private static final int OVERWORLD_BEDROCK_LAYER_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ljr;d:I
      intermediary field_35094 Lnet/minecraft/class_2412;field_35094:I
      named OVERWORLD_BEDROCK_LAYER_HEIGHT Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;OVERWORLD_BEDROCK_LAYER_HEIGHT:I
    • MONSTERS

      private static final EntityType<?>[] MONSTERS
      Mappings:
      Namespace Name Mixin selector
      official e Ljr;e:[Lbfl;
      intermediary field_11294 Lnet/minecraft/class_2412;field_11294:[Lnet/minecraft/class_1299;
      named MONSTERS Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;MONSTERS:[Lnet/minecraft/entity/EntityType;
  • Constructor Details

    • VanillaAdventureTabAdvancementGenerator

      public VanillaAdventureTabAdvancementGenerator()
  • Method Details

    • createLightningStrike

      private static LightningStrikeCriterion.Conditions createLightningStrike(NumberRange.IntRange range, EntityPredicate entity)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Lci$d;Lbn;)Lcf$a;
      intermediary method_37316 Lnet/minecraft/class_2412;method_37316(Lnet/minecraft/class_2096$class_2100;Lnet/minecraft/class_2048;)Lnet/minecraft/class_6405$class_6406;
      named createLightningStrike Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;createLightningStrike(Lnet/minecraft/predicate/NumberRange$IntRange;Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;
    • createLookingAtEntityUsing

      private static UsingItemCriterion.Conditions createLookingAtEntityUsing(EntityType<?> entity, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Lbfl;Lcfq;)Ldg$a;
      intermediary method_37315 Lnet/minecraft/class_2412;method_37315(Lnet/minecraft/class_1299;Lnet/minecraft/class_1792;)Lnet/minecraft/class_6409$class_6410;
      named createLookingAtEntityUsing Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;createLookingAtEntityUsing(Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;
    • accept

      public void accept(RegistryWrapper.WrapperLookup lookup, Consumer<Advancement> exporter)
      Specified by:
      accept in interface AdvancementTabGenerator
      Mappings:
      Namespace Name Mixin selector
      official a Ljl;a(Lhf$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
    • buildAdventuringTime

      protected static void buildAdventuringTime(Consumer<Advancement> exporter, Advancement parent, MultiNoiseBiomeSourceParameterList.Preset preset)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Ljava/util/function/Consumer;Lae;Lcnt$a;)V
      intermediary method_49356 Lnet/minecraft/class_2412;method_49356(Ljava/util/function/Consumer;Lnet/minecraft/class_161;Lnet/minecraft/class_8197$class_5305;)V
      named buildAdventuringTime Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;buildAdventuringTime(Ljava/util/function/Consumer;Lnet/minecraft/advancement/Advancement;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;)V
    • requireListedMobsKilled

      private Advancement.Builder requireListedMobsKilled(Advancement.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Lae$a;)Lae$a;
      intermediary method_10336 Lnet/minecraft/class_2412;method_10336(Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
      named requireListedMobsKilled Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requireListedMobsKilled(Lnet/minecraft/advancement/Advancement$Builder;)Lnet/minecraft/advancement/Advancement$Builder;
    • requireListedBiomesVisited

      protected static Advancement.Builder requireListedBiomesVisited(Advancement.Builder builder, List<RegistryKey<Biome>> biomes)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Lae$a;Ljava/util/List;)Lae$a;
      intermediary method_10337 Lnet/minecraft/class_2412;method_10337(Lnet/minecraft/class_161$class_162;Ljava/util/List;)Lnet/minecraft/class_161$class_162;
      named requireListedBiomesVisited Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requireListedBiomesVisited(Lnet/minecraft/advancement/Advancement$Builder;Ljava/util/List;)Lnet/minecraft/advancement/Advancement$Builder;