BentoBoxWorld / CaveBlock

CaveBlock addon for BentoBox. An interesting variation from Skyblock, where your goal is to survive in a cube of stone!
Eclipse Public License 2.0
16 stars 6 forks source link

Mobs only generated in positive coords #59

Closed tastybento closed 3 years ago

tastybento commented 3 years ago

Expected behavior

Mobs should be populated/generated in all coords

Observed/Actual behavior

Screen Shot 2021-08-15 at 10 38 42 AM

Mobs only generated in positive coords.

Steps/models to reproduce

  1. Start new server with CaveBlock
  2. Create fix island at 0,0
  3. Go into spectator mode
  4. Look at the mob populations

BentoBox version

> bbox v
[10:41:58 INFO]: Running PAPER 1.17.1.
[10:41:58 INFO]: BentoBox version: 1.17.3-SNAPSHOT-LOCAL
[10:41:58 INFO]: Database: JSON
[10:41:58 INFO]: Loaded Game Worlds:
[10:41:58 INFO]: caveblock-world (CaveBlock): Overworld, Nether, The End
[10:41:58 INFO]: Loaded Addons:
[10:41:58 INFO]: CaveBlock 1.14.5-SNAPSHOT-b392 (ENABLED)

Plugin list

No response

Other

No response

tastybento commented 3 years ago

Confirmed on 1.16.5 as well.

tastybento commented 3 years ago

The mobs are being killed because the space around them is too small. The rounding is going in the wrong direction when coords are negative.