类 GoToTargetLocation
java.lang.Object
net.minecraft.world.entity.ai.behavior.GoToTargetLocation
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明create
(MemoryModuleType<BlockPos> pLocationMemory, int pCloseEnoughDist, float pSpeedModifier) private static BlockPos
getNearbyPos
(Mob pMob, BlockPos pPos) private static int
getRandomOffset
(RandomSource pRandom)
-
构造器详细资料
-
GoToTargetLocation
public GoToTargetLocation()
-
-
方法详细资料
-
getNearbyPos
-
getRandomOffset
-
create
public static <E extends Mob> OneShot<E> create(MemoryModuleType<BlockPos> pLocationMemory, int pCloseEnoughDist, float pSpeedModifier)
-