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 Behavior<? super Villager>>> getCorePackage
(VillagerProfession p_24586_, float p_24587_) private static com.mojang.datafixers.util.Pair<Integer,
Behavior<LivingEntity>> static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getHidePackage
(VillagerProfession p_24611_, float p_24612_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getIdlePackage
(VillagerProfession p_24599_, float p_24600_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getMeetPackage
(VillagerProfession p_24596_, float p_24597_) private static com.mojang.datafixers.util.Pair<Integer,
Behavior<LivingEntity>> static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getPanicPackage
(VillagerProfession p_24602_, float p_24603_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getPlayPackage
(float p_24584_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getPreRaidPackage
(VillagerProfession p_24605_, float p_24606_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getRaidPackage
(VillagerProfession p_24608_, float p_24609_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getRestPackage
(VillagerProfession p_24593_, float p_24594_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> getWorkPackage
(VillagerProfession p_24590_, float p_24591_)
-
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 Behavior<? super Villager>>> getCorePackage(VillagerProfession p_24586_, float p_24587_) -
getWorkPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getWorkPackage(VillagerProfession p_24590_, float p_24591_) -
getPlayPackage
-
getRestPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getRestPackage(VillagerProfession p_24593_, float p_24594_) -
getMeetPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getMeetPackage(VillagerProfession p_24596_, float p_24597_) -
getIdlePackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getIdlePackage(VillagerProfession p_24599_, float p_24600_) -
getPanicPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getPanicPackage(VillagerProfession p_24602_, float p_24603_) -
getPreRaidPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getPreRaidPackage(VillagerProfession p_24605_, float p_24606_) -
getRaidPackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getRaidPackage(VillagerProfession p_24608_, float p_24609_) -
getHidePackage
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super Villager>>> getHidePackage(VillagerProfession p_24611_, float p_24612_) -
getFullLookBehavior
private static com.mojang.datafixers.util.Pair<Integer,Behavior<LivingEntity>> getFullLookBehavior() -
getMinimalLookBehavior
private static com.mojang.datafixers.util.Pair<Integer,Behavior<LivingEntity>> getMinimalLookBehavior()
-