Class VanillaAdventureAdvancements
java.lang.Object
net.minecraft.data.advancements.packs.VanillaAdventureAdvancements
- All Implemented Interfaces:
AdvancementSubProvider
-
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 TypeMethodDescriptionprotected static Advancement.Builder
addBiomes
(Advancement.Builder p_249250_, List<ResourceKey<Biome>> p_251338_) private Advancement.Builder
addMobsToKill
(Advancement.Builder p_248814_) private static LightningStrikeTrigger.TriggerInstance
fireCountAndBystander
(MinMaxBounds.Ints p_252298_, EntityPredicate p_251894_) void
generate
(HolderLookup.Provider p_255887_, Consumer<Advancement> p_256428_) private static UsingItemTrigger.TriggerInstance
lookAtThroughItem
(EntityType<?> p_249703_, Item p_250746_)
-
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
-
VanillaAdventureAdvancements
public VanillaAdventureAdvancements()
-
-
Method Details
-
fireCountAndBystander
private static LightningStrikeTrigger.TriggerInstance fireCountAndBystander(MinMaxBounds.Ints p_252298_, EntityPredicate p_251894_) -
lookAtThroughItem
private static UsingItemTrigger.TriggerInstance lookAtThroughItem(EntityType<?> p_249703_, Item p_250746_) -
generate
- Specified by:
generate
in interfaceAdvancementSubProvider
-
addMobsToKill
-
addBiomes
protected static Advancement.Builder addBiomes(Advancement.Builder p_249250_, List<ResourceKey<Biome>> p_251338_)
-