Commit Graph

131 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
gitlocalize-app[bot] a155eb9600
Caveblock TR locale (#87)
* Translate tr.yml via GitLocalize

* Translate tr.yml via GitLocalize

* Translate tr.yml via GitLocalize

Co-authored-by: Wolerus <yakup1907.sen@gmail.com>
Co-authored-by: Over_Brave <soncesurlar@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
2022-12-20 19:29:56 -08:00
BONNe 8ae4fac517 Merge remote-tracking branch 'origin/develop' into develop 2022-11-20 09:56:17 +02: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
gitlocalize-app[bot] aab7f8eb7c
Translate ru.yml via GitLocalize (#85)
Co-authored-by: Marmur2020 <marmur2020@gmail.com>
2022-10-31 08:26:41 +02:00
gitlocalize-app[bot] 1c04f41257
Translate de.yml via GitLocalize (#84)
Co-authored-by: Patrick <patrick.wassmuth@gmx.de>
2022-10-31 08:26:35 +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
BONNe 486e95c316
Return missing error message.
Somehow the error message was lost when added more "island" to "cave" replacements. 

Reported in Discord.
2022-01-28 12:27:01 +02:00
gitlocalize-app[bot] 710243c420
Translate lv.yml via GitLocalize (#72) 2022-01-09 11:30:59 -08:00
gitlocalize-app[bot] ca625a5971
Translate es.yml via GitLocalize (#74)
Co-authored-by: zuhir <ventola.tomas@gmail.com>
2022-01-01 18:47:29 -08:00
gitlocalize-app[bot] 138c8f9cfb
Russian translation (#73)
* Translate ru.yml via GitLocalize

* Translate ru.yml via GitLocalize

Co-authored-by: DraimCiDo <danilaorlov4@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
2022-01-01 18:47:14 -08: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 cdc0d10914 Fix typos, grammar. 2021-12-21 08:59:22 -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
Huynh Tien 30f59d2a31
Add Vietnamese (#65) 2021-10-16 09:51:33 -07:00
gitlocalize-app[bot] cdbb629760
Polish translation (#64)
* Translate pl.yml via GitLocalize

* Translate pl.yml via GitLocalize

* Translate pl.yml via GitLocalize

Co-authored-by: Repo92 <xrepox@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: tastybento <tastybento@wasteofplastic.com>
2021-10-12 17:17:42 -07: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
Katorly 665b68aa2f
Re-translate zh-CN.yml (#63) 2021-10-05 08:50:04 -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 6d37df1f2d Main block should be stone. 2020-11-27 16:48:44 -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
gitlocalize-app[bot] 3c4cabacc2
Add German translation (#51)
* Translate de.yml via GitLocalize

* Translate de.yml via GitLocalize

Co-authored-by: PhoenixmitX <phmitx@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
2020-11-04 10:12:16 +02:00
tastybento 4ecc4c5203 Add spawn limits in config.yml
Enables per-world specification of mob spawning.
2020-09-27 18:12:22 -07:00
gitlocalize-app[bot] 908c2681a4
Translate es.yml via GitLocalize (#50)
Co-authored-by: zuhir <ventola.tomas@gmail.com>
2020-08-03 08:14:44 +03:00
tastybento cb38e67e36 Improved comments for nether and end sethome 2020-07-18 08:15:30 -07:00
tastybento aaea6fd6fe Fixes blueprint bundles.
https://github.com/BentoBoxWorld/CaveBlock/issues/49
2020-07-10 21:19:10 -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
tastybento 56782510fd Added caveblock.mod.bypassdelays perm.
https://github.com/BentoBoxWorld/BentoBox/issues/1136
2020-02-07 18:47:27 -08:00
gitlocalize-app[bot] 8726fa8411
Add zh-CN (#43)
* Translate zh-CN.yml via GitLocalize

* Translate zh-CN.yml via GitLocalize

* Translate zh-CN.yml via GitLocalize

Co-authored-by: jaciloy <wapxjc@126.com>
Co-authored-by: DuckSoft <realducksoft@gmail.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
2020-02-06 07:21:12 +02:00