Commit Graph

23 Commits

Author SHA1 Message Date
BONNe 28f1a57838 Fixes a 1.18 world generator bug where it generated dirt-grass layers.
Expose 3 world generator options for overworld:
- natural-surface - generates surface that is natural(-ish). Currently, it may be just grass and dirt layers.
- natural-caves - generates caves inside world.
- natural-bedrock - generates natural looking bedrock pattern.

This also fixes a bug with floor and roof config option not working properly.

Fixes https://github.com/BentoBoxWorld/Level/issues/258
2022-04-25 01:07:19 +03:00
BONNe 7bbcd40df2 Set default biome to "DRIPSTONE_CAVES" caves in overworld.
Change default biome detection with Enums#getIfPresent and use THE_VOID as default biome if presented value does not exist.
2022-01-28 12:53:49 +02:00
tastybento 3889975319 JavaDoc fixes 2021-12-21 09:00:28 -08:00
Huynh Tien 4a2e08c228
block populators & respect world depth setting (#71) 2021-12-20 22:14:33 -08:00
tastybento 03a5f9bc6c
New world gen (#70)
* Uses the new 1.17.1 ChunkGenerator options

* More work on the ores

* Make CaveBlock a Pladdon

* WWIP - added nether and end ores.

* Improved generation

* Support 1.18 new caves
2021-12-20 12:22:28 -08:00
tastybento b71288d151
1.17 world gen (#61)
* Uses the new 1.17.1 ChunkGenerator options

* More work on the ores

* Make CaveBlock a Pladdon

* WWIP - added nether and end ores.

* Improved generation
2021-10-10 17:41:10 -07:00
tastybento 1c5ed92b25 Do not set mob spawn rates unless set to >0 in config.yml. 2020-11-27 07:55:25 -08:00
tastybento 4ecc4c5203 Add spawn limits in config.yml
Enables per-world specification of mob spawning.
2020-09-27 18:12:22 -07:00
BONNe f2a060afee Update to BentoBox 1.13.0 release.
Changes:
- Use general player and admin command. Adding new commands will require whole addon update.
- Add default-action, new-player-action, block-mobs config options.
- Rename link for max-trusted-size and max-coop-size from island to cave.
2020-05-01 23:29:02 +03:00
tastybento 73dd812d3a Uses new API to enable other addon flag loading in settings 2019-09-13 21:04:55 -07:00
tastybento 6b51620028 Use common object for settings load/save
Config saving is now async so concurrent config objects should not be
used.
2019-08-30 13:08:44 -07:00
BONNe c778a1ba03 Add CaveBlock default BluePrint.
Add AdminSwitchCommand

Optimize code that checks if player can walk on top of the world.
Remove AlternativeTeleports, as it is moved to VoidPortals addon.
2019-05-26 18:44:34 +03:00
tastybento 39b90b3d9d 1.14 compatibility (#25)
* Switches to lower-case world name, per 1.14.1 API

* Fixes console freeze on 1.14.x
2019-05-20 00:15:26 +03:00
tastybento a119181b46 Startup (#21)
* Fixed for BentoBox 1.5.0 API

Enables dedicated caveblock world operation

* Added island near command.

* Update pom.xml
2019-05-05 10:41:57 +03:00
BONNe1704 418eb7bef2 Fix issue when alternative teleports did not work. (#4).
There was a mistake with checking if position is changed in Y coordinate. It took from position and compare it to from position, so always fails.
This issue has been fixed now.

Also to improve ability to change these settings on the fly, I add them as world protection flags, so admins can enable and disable them via config.
2019-04-24 17:39:10 +03:00
tastybento 4592043b4e Merge branch 'develop' of https://github.com/BentoBoxWorld/CaveBlock.git
into develop
2019-03-23 16:00:42 -07:00
tastybento 7753565a8c Updated to BentoBox 1.4.0 API 2019-03-23 15:58:37 -07:00
BONNe a720f7097c Remove BeaconEnabler as it is not necessary.
Beacon can shine through bedrock.

Update pom as Challenges addon.
2019-03-05 11:22:09 +02:00
BONNe b3e7cf9faf Add ability to enable beacon even if roof is made of bedrock. (#5)
- Add multiple event listeners that detects if blocks should be replaced or not.
- Add new config option, that allows to enable/disable beacon enabling.
2019-02-03 16:08:27 +02:00
BONNe beccadd7d4 Create custom listener that process player movement.
Add ability to deny players from walking over world roof. (#3)
Add ability to teleport players to other worlds by falling into void. (#4)
2019-02-03 02:45:35 +02:00
tastybento 215f8efb69 Enables entity setting and config reloading
Tweaks to config.yml to be more cave-y.

Entities are set to not despawn. Probabilities of materials and entities
can have decimals and be sub 1% if required. For some entities, 1% was
too high a rate.

Adds a debug setting in config.yml that will enable you to see where
entities have been spawned. It can be removed at some point.
2019-02-02 11:47:48 -08:00
tastybento f6c1bc7d7f Makes chunk population more efficient
Adds locale text.
2019-02-01 12:29:28 -08:00
BONNe 0b79dcc503 Initial CaveBlock addon. 2019-01-28 08:27:44 +02:00