Commit Graph

131 Commits

Author SHA1 Message Date
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