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 BlockPosgetNearbyPos(Mob pMob, BlockPos pPos) private static intgetRandomOffset(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)
-