Commit Graph

62 Commits

Author SHA1 Message Date
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
BONNe1704
2bc1b46beb Init 1.4.1 CaveBlock version. 2019-04-24 16:15:18 +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
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
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
207733527d Improve CaveBlock pom.xml
Remove unnecessary things.
Add dependency projects in properties
Add BuildNumber to version tag.
2019-02-25 16:31:06 +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
fedd660bcb
Merge pull request #10 from BentoBoxWorld/master
Merge 0.1.0 into development branch
2019-02-03 17:35:43 +02:00
BONNe
b4e4a57097 Init 0.1.0 release
Fix codding style errors.
2019-02-03 17:25:53 +02:00
BONNe
7ed07f48f4 Merge changes from development branch. 2019-02-03 17:16:52 +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
BONNe
7f60f203ed
Merge pull request #8 from BentoBoxWorld/tb-develop
Enables entity setting and config reloading
2019-02-02 22:49:59 +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
BONNe
25bdaea000
Merge pull request #6 from BentoBoxWorld/tb_dev
Makes chunk population more efficient and adds locale text
2019-02-01 23:15:57 +02:00
tastybento
f6c1bc7d7f Makes chunk population more efficient
Adds locale text.
2019-02-01 12:29:28 -08:00
BONNe
643116b1ba
Merge pull request #2 from BentoBoxWorld/template-fix
Fix Templates
2019-02-01 18:57:39 +02:00
BONNe
6042b389ec
Bug Report template fix 2019-02-01 18:57:01 +02:00
BONNe
387323a1aa
Feature request template fix 2019-02-01 18:56:38 +02:00
BONNe
b9ba8eba24
Fix Contributor request template 2019-02-01 18:56:06 +02:00
BONNe1704
ce6c85aef6 Fix issue when entities populator could check position outside world bounds for roofless and floorless worlds. 2019-02-01 11:05:47 +02:00
BONNe1704
a14f076c65 Fix issue when populator tries to place block outside world bounds. 2019-02-01 11:00:24 +02:00
BONNe
4f866ea2a2 Init next snapshot 2019-02-01 00:09:56 +02: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
BONNe
c60d6b7c6a
Set as 0.0.1 version
Set up new Release version.
2019-01-31 18:23:29 +02:00
tastybento
514f860d3f
Merge pull request #1 from BONNe/master
Create CaveBlock
2019-01-31 08:03:17 -08:00
BONNe1704
5d9df840ea Merge remote-tracking branch 'origin/master' 2019-01-31 12:22:11 +02:00
BONNe1704
092fa23870 Add Issue Templates 2019-01-31 12:21:27 +02:00
BONNe
e1c30528bb
Populate ReadMe. 2019-01-31 11:49:15 +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