Commit Graph

22 Commits

Author SHA1 Message Date
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
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
tastybento
8bda6b8849 Fix for mobs in negative coords.
Fixes https://github.com/BentoBoxWorld/CaveBlock/issues/59
2021-08-15 11:19:28 -07: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
BONNe
a594f5edd5
CaveBlock 1.14 Release (#48)
* Increment development version.

* Prepare for 1.16.1 release.

- Added nether and the end biome sections in config.

* Add 1.15.2 backward compatibility.
Update to 1.14 api.
2020-07-09 21:42:31 +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
BONNe
ef8343546f Improve performance for a bit...
Like... some nanoseconds :)
2019-03-28 23:38:42 +02: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
BONNe
b4e4a57097 Init 0.1.0 release
Fix codding style errors.
2019-02-03 17:25:53 +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
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
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
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
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
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