Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
BONNe1704
31ab3fd865 Add better comments for variables and methods. 2019-01-31 11:34:55 +02:00
BONNe1704
bcdbdef1ae Add NumberOfBlockGenerationTries - variable that indicate how many times generator should try to place block. 2019-01-30 17:12:41 +02:00
BONNe
d9168a38b7 Add needsRestart tag 2019-01-29 23:37:36 +02:00
BONNe
0564663bc4 Add extra settings in Cave Block 2019-01-29 23:25:16 +02:00
BONNe
0b79dcc503 Initial CaveBlock addon. 2019-01-28 08:27:44 +02:00