question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create Caves in prerendered world [CaveBlock]

See original GitHub issue

Description

Plugin can’t create caves in area where chunks was rendered by plugin or player. Cave creator doesn’t ignore stone, doesn’t treat it as free space.

New world, new database, new server. Set BentoBox/addons/CaveBlock/config.yml to:

distance-between-caves: 50 protection-range: 30 start-z: 0 offset-x: 0 offset-z: 0 cave-height: 60 use-own-generator: false max-caves: 0 default-game-mode: SURVIVAL default-biome: MOUNTAINS ban-limit: -1 world-depth: 256 generation-tries: 5 normal: roof: false floor: true main-block: STONE blocks: []

When player create first cave, he is teleported to his cave home. He will render some chunks [as set in server.properties] around him. Mostly stone, and bedrock as floor. When next person will try to create 2nd cave, creator will start to find free location. 1st should be 0,0 [x/z] 2nd 0,100. Unfortunately, chunks at 0,0 are already rendered as spawn of the world, stone is rendered, plugin think that this space is taken, and looks for other free space. 1st cave was created at 200,200, 1st player render area around him. Next cave can’t be placed near him because plugin thinks stone is occupied place so it will find non rendered area ar 200,-200.

8 caves locations (there were only 8 caves) [x/z]: 1: 200/200 2: 200/-200 3: 200/0 4: -200/300 5: -200/100 6: 0/100 7: 0/300 8: 200/400

If I prerender whole map I cant create any cave:

[17:48:51 INFO]: Cry_Sis issued server command: /tb create [17:48:53 ERROR]: [BentoBox] Could not find a free spot for islands! Is this world empty?
[17:48:53 ERROR]: [BentoBox] Blocks around center locations: 20 max 20 [17:48:53 ERROR]: [BentoBox] Known islands: 126 max unlimited. [17:48:53 ERROR]: [BentoBox] Failed to make island - no unoccupied spot found. [17:48:53 ERROR]: [BentoBox] If the world was imported, try multiple times until all unowned islands are known. [17:48:53 ERROR]: [BentoBox] Could not create island for player. commands.island.create.cannot-create-island

If I set main-block: AIR everything works great, 1st cave loc is 0,0, 2nd 0,100, 3rd 100,100, 4th 100,0 5th 100,-100

Environment: Spigot 1.16.5 Spigot 1.15.2 Tuinity 1.16.5 - fork of spigot

Output of /bbox version (Mandatory)

` SERVER: TUNITY BBOX: 1.15.5 DATABASE: SQLITE

BIOMES 1.14.0 ENABLED caveblock 1.14.2 ENABLED Challenges 0.8.3 ENABLED ControlPanel 1.7.0 ENABLED DimensionalTrees 1.6.0 ENABLED Level 2.5.1 ENABLED WARPS 1.10.2 ENABLED `

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
andramilcommented, Mar 3, 2021

BB 1999 and CB 374. It works good.

1reaction
BONNecommented, Feb 28, 2021

@tastybento The issue is happening when worldRoof or worldFloor is set to bedrock (option in config).

I have set that CaveBlocks uses custom generator, but it still fails to properly detect empty space and takes bedrock as existing island starting block.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Create Caves in prerendered world [CaveBlock] -
When player create first cave, he is teleported to his cave home. He will render some chunks [as set in server.properties] around him....
Read more >
Start a Caveblock Minecraft Server - Apex Hosting
To build upon this, we have created the Apex Cave Block gametype, a server version that places the player in a cave with...
Read more >
Caveblock Classic - Worlds - Minecraft - CurseForge
Build your underground base, find camps and save the villagers! ... Survival map, only caves and dungeons, including starting chest with extra cave...
Read more >
Caveblock in Minecraft Marketplace
Download and play Caveblock by Razzleberries from the Minecraft Marketplace. ... Thank you for signing up for our cave exploration program. What?
Read more >
Caveblock by Razzleberries (Minecraft Marketplace Map)
Since you are already here, could you find all the caves and kill the dragon for us? ... Caveblock is a piece of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found