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 kt
intermediary net/minecraft/class_2412
named net/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final List<EntityType<?>>
private static final int
private static final int
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RegistryWrapper.WrapperLookup lookup, Consumer<AdvancementEntry> exporter) protected static void
buildAdventuringTime
(Consumer<AdvancementEntry> exporter, AdvancementEntry parent, MultiNoiseBiomeSourceParameterList.Preset preset) static AdvancementEntry
createKillMobAdvancements
(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, List<EntityType<?>> monsters) private static AdvancementCriterion<LightningStrikeCriterion.Conditions>
createLightningStrike
(NumberRange.IntRange range, Optional<EntityPredicate> entity) private static AdvancementCriterion<UsingItemCriterion.Conditions>
createLookingAtEntityUsing
(EntityType<?> entity, Item item) private static Advancement.Builder
protected static Advancement.Builder
requireListedBiomesVisited
(Advancement.Builder builder, List<RegistryKey<Biome>> biomes) private static Advancement.Builder
requireListedMobsKilled
(Advancement.Builder builder, List<EntityType<?>> entityTypes) private static AdvancementCriterion<ItemCriterion.Conditions>
private static AdvancementCriterion<ItemCriterion.Conditions>
private static Advancement.Builder
requireSalvagedSherd
(Advancement.Builder builder) private static Advancement.Builder
requireTrimmedArmor
(Advancement.Builder builder)
-
Field Details
-
OVERWORLD_HEIGHT
private static final int OVERWORLD_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lkt;b: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 c
Lkt;c: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 d
Lkt;d: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 e
Lkt;e: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
- Mappings:
Namespace Name Mixin selector official a
Lkt;a:Ljava/util/List;
intermediary field_11294
Lnet/minecraft/class_2412;field_11294:Ljava/util/List;
named MONSTERS
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;MONSTERS:Ljava/util/List;
-
-
Constructor Details
-
VanillaAdventureTabAdvancementGenerator
public VanillaAdventureTabAdvancementGenerator()
-
-
Method Details
-
createLightningStrike
private static AdvancementCriterion<LightningStrikeCriterion.Conditions> createLightningStrike(NumberRange.IntRange range, Optional<EntityPredicate> entity) - Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lck$d;Ljava/util/Optional;)Lan;
intermediary method_37316
Lnet/minecraft/class_2412;method_37316(Lnet/minecraft/class_2096$class_2100;Ljava/util/Optional;)Lnet/minecraft/class_175;
named createLightningStrike
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;createLightningStrike(Lnet/minecraft/predicate/NumberRange$IntRange;Ljava/util/Optional;)Lnet/minecraft/advancement/AdvancementCriterion;
-
createLookingAtEntityUsing
private static AdvancementCriterion<UsingItemCriterion.Conditions> createLookingAtEntityUsing(EntityType<?> entity, Item item) - Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lblz;Lcmt;)Lan;
intermediary method_37315
Lnet/minecraft/class_2412;method_37315(Lnet/minecraft/class_1299;Lnet/minecraft/class_1792;)Lnet/minecraft/class_175;
named createLookingAtEntityUsing
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;createLookingAtEntityUsing(Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)Lnet/minecraft/advancement/AdvancementCriterion;
-
accept
- Specified by:
accept
in interfaceAdvancementTabGenerator
- 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
-
createKillMobAdvancements
public static AdvancementEntry createKillMobAdvancements(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, List<EntityType<?>> monsters) - Mappings:
Namespace Name Mixin selector official a
Lkt;a(Laf;Ljava/util/function/Consumer;Ljava/util/List;)Laf;
intermediary method_55581
Lnet/minecraft/class_2412;method_55581(Lnet/minecraft/class_8779;Ljava/util/function/Consumer;Ljava/util/List;)Lnet/minecraft/class_8779;
named createKillMobAdvancements
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;createKillMobAdvancements(Lnet/minecraft/advancement/AdvancementEntry;Ljava/util/function/Consumer;Ljava/util/List;)Lnet/minecraft/advancement/AdvancementEntry;
-
requirePlacedBlockReadByComparator
private static AdvancementCriterion<ItemCriterion.Conditions> requirePlacedBlockReadByComparator(Block block) - Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lcwq;)Lan;
intermediary method_51815
Lnet/minecraft/class_2412;method_51815(Lnet/minecraft/class_2248;)Lnet/minecraft/class_175;
named requirePlacedBlockReadByComparator
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requirePlacedBlockReadByComparator(Lnet/minecraft/block/Block;)Lnet/minecraft/advancement/AdvancementCriterion;
-
requirePlacedComparatorReadingBlock
private static AdvancementCriterion<ItemCriterion.Conditions> requirePlacedComparatorReadingBlock(Block block) - Mappings:
Namespace Name Mixin selector official b
Lkt;b(Lcwq;)Lan;
intermediary method_51819
Lnet/minecraft/class_2412;method_51819(Lnet/minecraft/class_2248;)Lnet/minecraft/class_175;
named requirePlacedComparatorReadingBlock
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requirePlacedComparatorReadingBlock(Lnet/minecraft/block/Block;)Lnet/minecraft/advancement/AdvancementCriterion;
-
requireAllExclusiveTrimmedArmor
- Mappings:
Namespace Name Mixin selector official a
Lkt;a(Lae$a;)Lae$a;
intermediary method_51689
Lnet/minecraft/class_2412;method_51689(Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
named requireAllExclusiveTrimmedArmor
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requireAllExclusiveTrimmedArmor(Lnet/minecraft/advancement/Advancement$Builder;)Lnet/minecraft/advancement/Advancement$Builder;
-
requireTrimmedArmor
- Mappings:
Namespace Name Mixin selector official b
Lkt;b(Lae$a;)Lae$a;
intermediary method_51691
Lnet/minecraft/class_2412;method_51691(Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
named requireTrimmedArmor
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requireTrimmedArmor(Lnet/minecraft/advancement/Advancement$Builder;)Lnet/minecraft/advancement/Advancement$Builder;
-
requireSalvagedSherd
- Mappings:
Namespace Name Mixin selector official c
Lkt;c(Lae$a;)Lae$a;
intermediary method_51692
Lnet/minecraft/class_2412;method_51692(Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
named requireSalvagedSherd
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requireSalvagedSherd(Lnet/minecraft/advancement/Advancement$Builder;)Lnet/minecraft/advancement/Advancement$Builder;
-
buildAdventuringTime
protected static void buildAdventuringTime(Consumer<AdvancementEntry> exporter, AdvancementEntry parent, MultiNoiseBiomeSourceParameterList.Preset preset) - Mappings:
Namespace Name Mixin selector official a
Lkt;a(Ljava/util/function/Consumer;Laf;Lcvc$a;)V
intermediary method_49356
Lnet/minecraft/class_2412;method_49356(Ljava/util/function/Consumer;Lnet/minecraft/class_8779;Lnet/minecraft/class_8197$class_5305;)V
named buildAdventuringTime
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;buildAdventuringTime(Ljava/util/function/Consumer;Lnet/minecraft/advancement/AdvancementEntry;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSourceParameterList$Preset;)V
-
requireListedMobsKilled
private static Advancement.Builder requireListedMobsKilled(Advancement.Builder builder, List<EntityType<?>> entityTypes) - Mappings:
Namespace Name Mixin selector official b
Lkt;b(Lae$a;Ljava/util/List;)Lae$a;
intermediary method_10336
Lnet/minecraft/class_2412;method_10336(Lnet/minecraft/class_161$class_162;Ljava/util/List;)Lnet/minecraft/class_161$class_162;
named requireListedMobsKilled
Lnet/minecraft/data/server/advancement/vanilla/VanillaAdventureTabAdvancementGenerator;requireListedMobsKilled(Lnet/minecraft/advancement/Advancement$Builder;Ljava/util/List;)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
Lkt;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;
-