Class VillagerGoalPackages
java.lang.Object
net.minecraft.world.entity.ai.behavior.VillagerGoalPackages
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getCorePackage
(VillagerProfession p_24586_, float p_24587_) private static com.mojang.datafixers.util.Pair<Integer,
BehaviorControl<LivingEntity>> static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getHidePackage
(VillagerProfession p_24611_, float p_24612_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getIdlePackage
(VillagerProfession p_24599_, float p_24600_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getMeetPackage
(VillagerProfession p_24596_, float p_24597_) private static com.mojang.datafixers.util.Pair<Integer,
BehaviorControl<LivingEntity>> static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getPanicPackage
(VillagerProfession p_24602_, float p_24603_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getPlayPackage
(float p_24584_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getPreRaidPackage
(VillagerProfession p_24605_, float p_24606_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getRaidPackage
(VillagerProfession p_24608_, float p_24609_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getRestPackage
(VillagerProfession p_24593_, float p_24594_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> getWorkPackage
(VillagerProfession p_24590_, float p_24591_) private static boolean
raidExistsAndActive
(ServerLevel p_260274_, LivingEntity p_260163_) private static boolean
raidExistsAndNotVictory
(ServerLevel p_259939_, LivingEntity p_259384_)
-
Field Details
-
STROLL_SPEED_MODIFIER
private static final float STROLL_SPEED_MODIFIER- See Also:
-
-
Constructor Details
-
VillagerGoalPackages
public VillagerGoalPackages()
-
-
Method Details
-
getCorePackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getCorePackage(VillagerProfession p_24586_, float p_24587_) -
getWorkPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getWorkPackage(VillagerProfession p_24590_, float p_24591_) -
getPlayPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getPlayPackage(float p_24584_) -
getRestPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getRestPackage(VillagerProfession p_24593_, float p_24594_) -
getMeetPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getMeetPackage(VillagerProfession p_24596_, float p_24597_) -
getIdlePackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getIdlePackage(VillagerProfession p_24599_, float p_24600_) -
getPanicPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getPanicPackage(VillagerProfession p_24602_, float p_24603_) -
getPreRaidPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getPreRaidPackage(VillagerProfession p_24605_, float p_24606_) -
getRaidPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getRaidPackage(VillagerProfession p_24608_, float p_24609_) -
getHidePackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends BehaviorControl<? super Villager>>> getHidePackage(VillagerProfession p_24611_, float p_24612_) -
getFullLookBehavior
private static com.mojang.datafixers.util.Pair<Integer,BehaviorControl<LivingEntity>> getFullLookBehavior() -
getMinimalLookBehavior
private static com.mojang.datafixers.util.Pair<Integer,BehaviorControl<LivingEntity>> getMinimalLookBehavior() -
raidExistsAndActive
-
raidExistsAndNotVictory
-