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
protected static final List<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 static Advancement.Builder
addMobsToKill
(Advancement.Builder p_248814_, List<EntityType<?>> p_314428_) private static Advancement.Builder
craftingANewLook
(Advancement.Builder p_285062_) protected static void
createAdventuringTime
(Consumer<AdvancementHolder> p_275645_, AdvancementHolder p_301274_, MultiNoiseBiomeSourceParameterList.Preset p_275211_) static AdvancementHolder
createMonsterHunterAdvancement
(AdvancementHolder p_314489_, Consumer<AdvancementHolder> p_314532_, List<EntityType<?>> p_314614_) private static Criterion<LightningStrikeTrigger.TriggerInstance>
fireCountAndBystander
(MinMaxBounds.Ints p_252298_, Optional<EntityPredicate> p_299106_) void
generate
(HolderLookup.Provider p_255887_, Consumer<AdvancementHolder> p_256428_) private static Criterion<UsingItemTrigger.TriggerInstance>
lookAtThroughItem
(EntityType<?> p_249703_, Item p_250746_) private static Criterion<ItemUsedOnLocationTrigger.TriggerInstance>
placedBlockReadByComparator
(Block p_286401_) private static Criterion<ItemUsedOnLocationTrigger.TriggerInstance>
placedComparatorReadingBlock
(Block p_286250_) private static Advancement.Builder
private static Advancement.Builder
smithingWithStyle
(Advancement.Builder p_285368_)
-
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 Criterion<LightningStrikeTrigger.TriggerInstance> fireCountAndBystander(MinMaxBounds.Ints p_252298_, Optional<EntityPredicate> p_299106_) -
lookAtThroughItem
private static Criterion<UsingItemTrigger.TriggerInstance> lookAtThroughItem(EntityType<?> p_249703_, Item p_250746_) -
generate
- Specified by:
generate
in interfaceAdvancementSubProvider
-
createMonsterHunterAdvancement
public static AdvancementHolder createMonsterHunterAdvancement(AdvancementHolder p_314489_, Consumer<AdvancementHolder> p_314532_, List<EntityType<?>> p_314614_) -
placedBlockReadByComparator
private static Criterion<ItemUsedOnLocationTrigger.TriggerInstance> placedBlockReadByComparator(Block p_286401_) -
placedComparatorReadingBlock
private static Criterion<ItemUsedOnLocationTrigger.TriggerInstance> placedComparatorReadingBlock(Block p_286250_) -
smithingWithStyle
-
craftingANewLook
-
respectingTheRemnantsCriterions
-
createAdventuringTime
protected static void createAdventuringTime(Consumer<AdvancementHolder> p_275645_, AdvancementHolder p_301274_, MultiNoiseBiomeSourceParameterList.Preset p_275211_) -
addMobsToKill
private static Advancement.Builder addMobsToKill(Advancement.Builder p_248814_, List<EntityType<?>> p_314428_) -
addBiomes
protected static Advancement.Builder addBiomes(Advancement.Builder p_249250_, List<ResourceKey<Biome>> p_251338_)
-