Class GoToTargetLocation
java.lang.Object
net.minecraft.world.entity.ai.behavior.GoToTargetLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(MemoryModuleType<BlockPos> pLocationMemory, int pCloseEnoughDist, float pSpeedModifier) private static BlockPos
getNearbyPos
(Mob pMob, BlockPos pPos) private static int
getRandomOffset
(RandomSource pRandom)
-
Constructor Details
-
GoToTargetLocation
public GoToTargetLocation()
-
-
Method Details
-
getNearbyPos
-
getRandomOffset
-
create
public static <E extends Mob> OneShot<E> create(MemoryModuleType<BlockPos> pLocationMemory, int pCloseEnoughDist, float pSpeedModifier)
-