Commit Graph

98 Commits

Author SHA1 Message Date
Florian CUNY f39ed36854
Added a few attributes to addon.yml 2019-05-13 10:51:14 +02: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 166fb54bf7 Merge commit '418eb7bef2c5c692d42b99a462f92a1840f9f574' 2019-05-09 12:06:51 +03:00
BONNe 8f207fadf0 Prepare Spigot 1.14 update.
Change Sign to oak_sign in schem files.
2019-05-05 20:03:50 +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
BONNe1704 2bc1b46beb Init 1.4.1 CaveBlock version. 2019-04-24 16:15:18 +03:00
BONNe 2216db970e Merge development branch into master 2019-03-28 23:49:23 +02: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
BONNe f026891bda Update to BentoBox 1.4;
Init next version.
Add build.number to pom and addon.yml.

Replace develop profile with ci profile. It will be activated by BUILD_NUMBER variable, but will change only build.number property.
Add '-SNAPSHOT' at the end of revision. It will now be added by default.
2019-03-28 23:29:46 +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 446087ab48
Merge develop into master (#15)
* Fixes BEETROOT_SEEDS enum for itemstack in schem

https://github.com/BentoBoxWorld/CaveBlock/issues/12

* 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

* Removes extraneous settings

https://github.com/BentoBoxWorld/BentoBox/issues/531

* Implement ability to change user and admin command in config.

* Improve CaveBlock pom.xml

Remove unnecessary things.
Add dependency projects in properties
Add BuildNumber to version tag.

* Add BentoBox 1.3.0 admin commands

* Remove BeaconEnabler as it is not necessary.
Beacon can shine through bedrock.

Update pom as Challenges addon.
2019-03-05 11:24:34 +02: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
tastybento ae26dfaa74 Fixes BEETROOT_SEEDS enum for itemstack in schem
https://github.com/BentoBoxWorld/CaveBlock/issues/12
2019-02-05 21:29:51 -08:00
BONNe b4e4a57097 Init 0.1.0 release
Fix codding style errors.
2019-02-03 17:25:53 +02:00
BONNe 79f421bdb7 Add beetroot seeds instead of beetroot. (#9)
- Restore unarchived files.
2019-02-03 16:45:11 +02:00
BONNe f5090c91eb Disable teleports for players if target location is on top of the world. (#3) 2019-02-03 16:26:53 +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 3d49f60885 Cleaned up schems
Made nether schem work okay.
2019-02-02 15:46:22 -08: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 68061d64b8 Fix issue when some blocks were generated outside world bounds if first position was on top or bottom block. 2019-02-01 00:08:42 +02:00
BONNe1704 31ab3fd865 Add better comments for variables and methods. 2019-01-31 11:34:55 +02:00
BONNe1704 a346e3964a Reserve correct space for 2 high mobs.
Used for shulkers.
2019-01-31 10:56:34 +02:00
BONNe1704 60a83bfa9b Add method that checks if there is enough space for entity. 2019-01-30 18:03:46 +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
BONNe1704 dc83823da5 Fix an issue when when roof and floor was not generated.
Move block and entity generation to populators.
2019-01-30 17:12:04 +02:00
BONNe1704 ce76e9ecfc Add BlockPopulators.
- EntitiesPopulator - add entity populator.
- MaterialPopulator - add block populator.
2019-01-30 17:10:10 +02:00
BONNe1704 2122fd31e9 Update config. 2019-01-30 17:08:54 +02:00
BONNe 3854617fca Change Map structure:
- It will return Integer to pair...
2019-01-30 09:03:19 +02:00
BONNe 2db3f0ddfa Add methods that will transform String of blocks into material with its rarity and amount in pack. 2019-01-30 00:45:41 +02:00
BONNe f9454bd39f Add Material Before Blocks... as it will help with their collection 2019-01-30 00:37:09 +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
BONNe1704 11db109656 Schem archives. 2019-01-29 17:47:33 +02:00
BONNe1704 badb7ee1b8 Fix issue in nether island where air was in entities section. 2019-01-29 17:33:33 +02:00
BONNe1704 b03e154873 Add SpawnHere sing in the end. 2019-01-29 17:24:03 +02:00
BONNe1704 0cb03c4ae8 Create better normal/nether/end schems for CaveBlock. 2019-01-29 17:15:39 +02:00
BONNe1704 5f9991c2f1 Set to use-own-generator to avoid recalulation in position finder. 2019-01-29 16:39:18 +02:00
BONNe1704 5f24c4de29 Improve chunk generator options.
Split chunk populators for overworld, nether and the end.
2019-01-29 16:38:38 +02:00
BONNe 0b79dcc503 Initial CaveBlock addon. 2019-01-28 08:27:44 +02:00