Package net.minecraft.data.server
Class AdventureTabAdvancementGenerator
java.lang.Object
net.minecraft.data.server.AdventureTabAdvancementGenerator
- All Implemented Interfaces:
Consumer<Consumer<Advancement>>
public class AdventureTabAdvancementGenerator
extends Object
implements Consumer<Consumer<Advancement>>
- Mappings:
Namespace Name official ih
intermediary net/minecraft/class_2412
named net/minecraft/data/server/AdventureTabAdvancementGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>
private static final EntityType<?>[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Consumer<Advancement> consumer) private static LightningStrikeCriterion.Conditions
createLightningStrike
(NumberRange.IntRange range, EntityPredicate entity) private static UsingItemCriterion.Conditions
createLookingAtEntityUsing
(EntityType<?> entity, Item item) protected static Advancement.Task
requireListedBiomesVisited
(Advancement.Task task, List<RegistryKey<Biome>> biomes) private Advancement.Task
-
Field Details
-
BIOMES
- Mappings:
Namespace Name Mixin selector official a
Lih;a:Ljava/util/List;
intermediary field_11293
Lnet/minecraft/class_2412;field_11293:Ljava/util/List;
named BIOMES
Lnet/minecraft/data/server/AdventureTabAdvancementGenerator;BIOMES:Ljava/util/List;
-
MONSTERS
- Mappings:
Namespace Name Mixin selector official b
Lih;b:[Latk;
intermediary field_11294
Lnet/minecraft/class_2412;field_11294:[Lnet/minecraft/class_1299;
named MONSTERS
Lnet/minecraft/data/server/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
Lih;a(Lch$d;Lbm;)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/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
Lih;a(Latk;Lbqm;)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/AdventureTabAdvancementGenerator;createLookingAtEntityUsing(Lnet/minecraft/entity/EntityType;Lnet/minecraft/item/Item;)Lnet/minecraft/advancement/criterion/UsingItemCriterion$Conditions;
-
accept
- Specified by:
accept
in interfaceConsumer<Consumer<Advancement>>
- Mappings:
Namespace Name Mixin selector official a
Lih;a(Ljava/util/function/Consumer;)V
intermediary method_10335
Lnet/minecraft/class_2412;method_10335(Ljava/util/function/Consumer;)V
named accept
Lnet/minecraft/data/server/AdventureTabAdvancementGenerator;accept(Ljava/util/function/Consumer;)V
-
requireListedMobsKilled
- Mappings:
Namespace Name Mixin selector official a
Lih;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/AdventureTabAdvancementGenerator;requireListedMobsKilled(Lnet/minecraft/advancement/Advancement$Task;)Lnet/minecraft/advancement/Advancement$Task;
-
requireListedBiomesVisited
protected static Advancement.Task requireListedBiomesVisited(Advancement.Task task, List<RegistryKey<Biome>> biomes) - Mappings:
Namespace Name Mixin selector official a
Lih;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/AdventureTabAdvancementGenerator;requireListedBiomesVisited(Lnet/minecraft/advancement/Advancement$Task;Ljava/util/List;)Lnet/minecraft/advancement/Advancement$Task;
-