类 GolemRandomStrollInVillageGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.world.entity.ai.goal.GolemRandomStrollInVillageGoal
-
嵌套类概要
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private static final int
private static final int
从类继承的字段 net.minecraft.world.entity.ai.goal.RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private boolean
doesVillagerWantGolem
(Villager p_25406_) protected Vec3
private Vec3
private Vec3
private Vec3
private BlockPos
getRandomPoiWithinSection
(SectionPos p_25408_) private SectionPos
从类继承的方法 net.minecraft.world.entity.ai.goal.RandomStrollGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
字段详细资料
-
POI_SECTION_SCAN_RADIUS
private static final int POI_SECTION_SCAN_RADIUS- 另请参阅:
-
VILLAGER_SCAN_RADIUS
private static final int VILLAGER_SCAN_RADIUS- 另请参阅:
-
RANDOM_POS_XY_DISTANCE
private static final int RANDOM_POS_XY_DISTANCE- 另请参阅:
-
RANDOM_POS_Y_DISTANCE
private static final int RANDOM_POS_Y_DISTANCE- 另请参阅:
-
-
构造器详细资料
-
GolemRandomStrollInVillageGoal
-
-
方法详细资料
-
getPosition
- 覆盖:
getPosition
在类中RandomStrollGoal
-
getPositionTowardsAnywhere
-
getPositionTowardsVillagerWhoWantsGolem
-
getPositionTowardsPoi
-
getRandomVillageSection
-
getRandomPoiWithinSection
-
doesVillagerWantGolem
-