Class AdventureTabAdvancementGenerator

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

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

    • OVERWORLD_HEIGHT

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

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

      private static final int OVERWORLD_MIN_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ljm;c:I
      intermediary field_35093 Lnet/minecraft/class_2412;field_35093:I
      named OVERWORLD_MIN_Y Lnet/minecraft/data/server/advancement/AdventureTabAdvancementGenerator;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 Ljm;d:I
      intermediary field_35094 Lnet/minecraft/class_2412;field_35094:I
      named OVERWORLD_BEDROCK_LAYER_HEIGHT Lnet/minecraft/data/server/advancement/AdventureTabAdvancementGenerator;OVERWORLD_BEDROCK_LAYER_HEIGHT:I
    • MONSTERS

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

    • AdventureTabAdvancementGenerator

      public AdventureTabAdvancementGenerator()
  • Method Details

    • createLightningStrike

      private static LightningStrikeCriterion.Conditions createLightningStrike(NumberRange.IntRange range, EntityPredicate entity)
      Mappings:
      Namespace Name Mixin selector
      official a Ljm;a(Lcg$d;Lbl;)Lcd$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/AdventureTabAdvancementGenerator;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 Ljm;a(Lbdv;Lcdp;)Ldd$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/AdventureTabAdvancementGenerator;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 Ljh;a(Lhb$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
    • requireListedMobsKilled

      private Advancement.Builder requireListedMobsKilled(Advancement.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Ljm;a(Lac$a;)Lac$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/AdventureTabAdvancementGenerator;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 Ljm;a(Lac$a;Ljava/util/List;)Lac$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/AdventureTabAdvancementGenerator;requireListedBiomesVisited(Lnet/minecraft/advancement/Advancement$Builder;Ljava/util/List;)Lnet/minecraft/advancement/Advancement$Builder;