Commit Graph

82 Commits

Author SHA1 Message Date
tastybento 9e51156f87 Avoid min and max y settings for ores. Fixes #91 2023-11-26 07:59:48 -08:00
BONNe e1121d3dce Upgrade to BentoBox API 1.23 2023-04-16 19:45:56 +03:00
BONNe 75148c5e00
Return to plugin.yml (#89)
* Create plugin.yml

* Update pom.xml

* Update CaveBlockPladdon.java
2023-04-08 19:12:51 +03:00
tastybento 6601875109 Update pladdon annotations 2023-03-25 10:02:30 -07:00
BONNe 42a9cf9c7e Rework entity populator.
The new world populator on some engines are multi-threaded, however, minecraft does not allow to remove entities outside main-thread. As entity populator spawned entity and then removed when there were no spot for it, servers crashed.

The issue should be fixed now as I add custom entity bounding box calculator before it is spawned to check if there is place for entity.

Fixes #86
2022-11-20 09:56:06 +02:00
BONNe 3478c0352a Fixes issue when ores were not generated in correct form. #77 2022-05-17 21:22:46 +03:00
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
BONNe 18e4694129 Add spigot-plugin-annotations dependency. 2022-01-28 12:52:08 +02:00
BONNe 7caa688aa0
Fixes incorrect error message path.
There were 2 different error message paths to the same text. 

Reported in Discord.
2022-01-28 12:28:39 +02:00
tastybento 3889975319 JavaDoc fixes 2021-12-21 09:00:28 -08:00
tastybento 4702ad1b96 Overrides need NonNull annotations 2021-12-21 08:59:42 -08:00
tastybento 6d21deaa1e Fix biome compatibility 2021-12-21 08:42:40 -08:00
tastybento 124b4e8c0c Remove use own generator option as it isn't used. 2021-12-21 08:40:04 -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
Huynh Tien 7824c7bf71
Optional Generators (#67)
* old generators in new api

* add NewMaterialPopulator

* forgot to prevent physics loop

* I see... the new generator creates caves

* apply getMinHeight and getMaxHeight

* getMinHeight and getMaxHeight for populators too

* summarize

* general reformat on populators

* small typos

* comment sections

* small reformat

* warning on config

* apply new API on BlockPopulator p.1

* apply new API on BlockPopulator p.2

* apply new API on BlockPopulator p.3 (final)

* hasAI option
2021-12-13 20:00:54 -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 8bda6b8849 Fix for mobs in negative coords.
Fixes https://github.com/BentoBoxWorld/CaveBlock/issues/59
2021-08-15 11:19:28 -07:00
BONNe 982725c737 Fixes copy-paste issue 2021-03-15 14:50:19 +02:00
BONNe c12310a627 Implement onRespawnCommands() option from BentoBox 1.14. 2021-03-15 14:49:16 +02:00
BONNe 9006a5f4d4 Implement options for linking nether portals and crating end obsidian platform. 2021-03-15 14:33:43 +02:00
tastybento 71371576af
Do not check for blocks when looking for new islands. (#55)
https://github.com/BentoBoxWorld/BentoBox/issues/1694
2021-03-01 10:43:53 -08:00
tastybento c0c2970168 Fix for nether Biome in end world
https://github.com/BentoBoxWorld/CaveBlock/issues/54
2020-12-22 09:03:21 -08: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
tastybento cb38e67e36 Improved comments for nether and end sethome 2020-07-18 08:15:30 -07:00
BONNe cf8e29b562 Add 1.15.2 backward compatibility.
Update to 1.14 api.
2020-07-09 21:40:23 +03:00
BONNe 93ee3cdd33 Prepare for 1.16.1 release.
- Added nether and the end biome sections in config.
2020-06-28 11:12:27 +03: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 053c181ecd Remove admin trash commands because they should not be needed. 2020-04-06 17:05:28 -07:00
tastybento b52ceeb5ea Add limits for coop and trusted to config.yml
https://github.com/BentoBoxWorld/BentoBox/pull/1267
2020-04-06 17:04:44 -07:00
BONNe bf75385263 Update to latest BentoBox 1.10 API changes.
- Add create-missing-nether-end-caves config option
- Add teleport-player-to-cave-when-created config option
2020-01-04 19:03:39 +02:00
Florian CUNY f1591de51e
Updated outdated comments for defaultCaveFlags config option
Should avoid further issues such as https://github.com/BentoBoxWorld/CaveBlock/issues/38.
2019-12-07 10:57:49 +01:00
BONNe 11a5d73a20 Update config and settings to use "cave" path instead of "island".
Replace all island mentions with cave.
2019-11-09 20:29:07 +02:00
BONNe f895853bbb Add missing setters 2019-11-09 19:54:00 +02:00
BONNe 97514187a8 Update to latest BentoBox 1.9-SNAPSHOT API changes.
- Add fallingBannedCommands
- Add createCaveOnFirstLoginEnabled
- Add createCaveOnFirstLoginDelay
- Add createCaveOnFirstLoginAbortOnLogout
2019-11-09 19:44:29 +02:00
tastybento 5fd194d01f Update to latest BentoBox API 2019-10-13 13:33:20 -07:00
tastybento e61627c71b Update to latest BentoBox API 1.8.0 2019-09-28 16:18:16 -07:00
tastybento 73dd812d3a Uses new API to enable other addon flag loading in settings 2019-09-13 21:04:55 -07:00
BONNe 9ef60d4b62 Merge branch 'develop' of https://github.com/BentoBoxWorld/CaveBlock
 Conflicts:
	pom.xml
	src/main/resources/locales/en-US.yml
2019-09-09 00:03:54 +03: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
BONNe1704 65ed00185e Fix missing translation about reaching cave ceiling. 2019-08-14 11:59:43 +03:00
BONNe1704 07574dadfd Add Purge Admin command. 2019-08-13 11:11:17 +03:00
tastybento de134e54f7 Added Admin Settings command using BentoBox 1.6.0 API 2019-08-10 11:21:17 -07:00
tastybento 20e4786f08 Switch to using call instead of execute to enable perms to be used
https://github.com/BentoBoxWorld/BentoBox/issues/759
2019-07-28 15:21:34 -07:00
BONNe1704 fdd4bc795b Update CaveBlock to latest API changes. 2019-07-12 12:14:25 +03:00
tastybento 5f1929fca2 Removes death sum setting. 2019-06-08 09:11:04 -07:00
tastybento 12c2885b75 Clarifies kicked-keep-inventory config setting. 2019-06-07 22:26:35 -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