|
static MCAPI ::std::optional<::Vec3 > | generateRandomPos (::Mob &mob, int xzDist, int yDist, ::Vec3 const *dir, bool canFly, bool canSwim, int tries, ::SolidityCheckType blockTest) |
|
static MCAPI ::std::optional<::Vec3 > | generateRandomPos (::Randomize &randomize, ::Mob &mob, int xzDist, int yDist, int yOffset, ::Vec3 const *dir, bool canFly, bool canSwim, ::IntRange const &hoverHeight, int tries, ::SolidityCheckType blockTest) |
|
static MCAPI ::std::optional<::Vec3 > | generateRandomSpawnPos (::BlockSource ®ion, ::Random &random, ::Vec3 const &inPos, int xzDist, int yDist, int numAttempts, ::Vec3 *dir) |
|
static MCAPI ::std::optional<::Vec3 > | getPos (::Mob &mob, int xzDist, int yDist, int tries, ::SolidityCheckType blockTest) |
|
static MCAPI ::std::optional<::Vec3 > | getPosAvoid (::Mob &mob, int xzDist, int yDist, ::Vec3 const &avoidPos, ::SolidityCheckType blockTest, int tries) |
|
static MCAPI ::std::optional<::Vec3 > | getPosTowards (::Mob &mob, int xzDist, int yDist, ::Vec3 const &towardsPos) |
|
static MCAPI ::std::optional<::Vec3 > | getPosTowards (::Random &random, ::Mob &mob, int towardsPos, int xzDist, ::Vec3 const &yDist) |
|
static MCAPI bool | snapToGround (::BlockPos &inOutPos, ::Mob &mob, int yDist, ::IntRange const &hoverHeight, ::SolidityCheckType blockTest) |
|
static MCAPI bool | spawnSnapToGround (::BlockSource ®ion, ::BlockPos &inOutPos, float startingY, int yDist) |
|