Package net.minecraft.data.advancements
Class AdventureAdvancements
java.lang.Object
net.minecraft.data.advancements.AdventureAdvancements
- All Implemented Interfaces:
Consumer<Consumer<Advancement>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final EntityType<?>[]
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Consumer<Advancement> p_123983_) protected static Advancement.Builder
addBiomes
(Advancement.Builder p_123987_, List<ResourceKey<Biome>> p_123988_) private Advancement.Builder
addMobsToKill
(Advancement.Builder p_123985_) private static LightningStrikeTrigger.TriggerInstance
fireCountAndBystander
(MinMaxBounds.Ints p_176030_, EntityPredicate p_176031_) private List<ResourceKey<Biome>>
private static UsingItemTrigger.TriggerInstance
lookAtThroughItem
(EntityType<?> p_176027_, Item p_176028_)
-
Field Details
-
DISTANCE_FROM_BOTTOM_TO_TOP
private static final int DISTANCE_FROM_BOTTOM_TO_TOP- See Also:
-
Y_COORDINATE_AT_TOP
private static final int Y_COORDINATE_AT_TOP- See Also:
-
Y_COORDINATE_AT_BOTTOM
private static final int Y_COORDINATE_AT_BOTTOM- See Also:
-
BEDROCK_THICKNESS
private static final int BEDROCK_THICKNESS- See Also:
-
MOBS_TO_KILL
-
-
Constructor Details
-
AdventureAdvancements
public AdventureAdvancements()
-
-
Method Details
-
fireCountAndBystander
private static LightningStrikeTrigger.TriggerInstance fireCountAndBystander(MinMaxBounds.Ints p_176030_, EntityPredicate p_176031_) -
lookAtThroughItem
private static UsingItemTrigger.TriggerInstance lookAtThroughItem(EntityType<?> p_176027_, Item p_176028_) -
accept
- Specified by:
accept
in interfaceConsumer<Consumer<Advancement>>
-
getAllOverworldBiomes
-
addMobsToKill
-
addBiomes
protected static Advancement.Builder addBiomes(Advancement.Builder p_123987_, List<ResourceKey<Biome>> p_123988_)
-