Commit Graph

69 Commits

Author SHA1 Message Date
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
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
BONNe1704 8093bbbf6c Upgrade to BentoBox 1.5.0-SNAPSHOT changes.
Remove DataObject from Settings class.
2019-05-09 12:25:43 +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
BONNe ef8343546f Improve performance for a bit...
Like... some nanoseconds :)
2019-03-28 23:38:42 +02:00
BONNe 989b3fc65c Add IslandExpelCommand. 2019-03-28 23:37:16 +02: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
BONNe1704 f301e56ea6 Add BentoBox 1.3.0 admin commands 2019-02-25 16:37:52 +02:00
BONNe1704 d9d79a1ca9 Implement ability to change user and admin command in config. 2019-02-15 16:41:08 +02:00
tastybento f42c15e225 Removes extraneous settings
https://github.com/BentoBoxWorld/BentoBox/issues/531
2019-02-08 17:51:50 -08:00
tastybento 168cbe1ebc Adds error checking for MATERIALs in config.yml
MATERIALs must be blocks otherwise the world populator will throw errors
and crash the server. This commit checks that all imported materials are
blocks and if they are not logs the error.

Updated config.yml to use correct 1.13 material names for blocks.

https://github.com/BentoBoxWorld/CaveBlock/issues/11
2019-02-06 17:42:06 -08:00