Commit Graph

62 Commits

Author SHA1 Message Date
tastybento 1975df2732 Fixes #92
A world check was not being done in the overlap check.
2022-12-29 19:33:59 -08:00
tastybento 1f0b579d5a Enables water plants to be grown under water.
Fixes #93
2022-12-29 18:59:50 -08:00
tastybento e5c62047ff Use new switch statement 2022-12-29 11:33:34 -08:00
tastybento 06230e4957 Remove saving of greenhouses on exit.
https://github.com/BentoBoxWorld/Greenhouses/issues/85
2022-01-01 16:03:04 -08:00
tastybento 5808c5933a Code refactoring around BoundingBox 2021-12-31 13:32:03 -08:00
tastybento c660575456 Remove lag from legacy Material support issue
Spigot pulls in all the legacy marerials if you loop through the
material values.
2021-09-25 11:34:36 -07:00
tastybento 47bead9145 Fixes bug where floor blocks were not converted.
This was introduced by commit db3054ab0c

https://github.com/BentoBoxWorld/Greenhouses/issues/81
2021-09-25 11:04:01 -07:00
tastybento 8a3e0eb403 Conde clean up from IntelliJ 2021-09-18 10:33:48 -07:00
tastybento 4708a70e24 Added support for ceiling growing plants.
VINES, WEEPING_VINES_PLANT, SPORE_BLOSSOM, CAVE_VINES_PLANT,
TWISTING_VINES_PLANT

https://github.com/BentoBoxWorld/Greenhouses/issues/81
2021-09-18 10:12:47 -07:00
tastybento 818f6fc925 Null checks. 2021-08-01 16:17:12 -07:00
tastybento 38de645e6b Move to Java 16 2021-07-31 23:10:07 -07:00
Rosskaman d1d3004262
Allow omitting LocalMaterial in biomes.yml if you don't want a local blo… (#79) 2021-05-09 11:47:54 -07:00
Rosskaman db3054ab0c
Optimize convertBlocks and convertBlock methods by reducing the amoun… (#78) 2021-04-19 07:26:43 -07:00
tastybento f2faeb71df Correct comment 2021-02-13 10:30:05 -08:00
tastybento 88b655ee00 Trapdoors in roof were not counted as doors.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/73
2021-02-03 17:40:42 -08:00
tastybento 01a5548119 Removed admin commands 2021-01-17 11:42:54 -08:00
tastybento 07763cafdf Fixes reporting of success.
https://github.com/BentoBoxWorld/Greenhouses/issues/68
2021-01-17 09:58:04 -08:00
tastybento b90cba0b60 WIP 2021-01-17 09:35:06 -08:00
tastybento 27df88aaf3 Made greenhouse ecosystem checking async.
https://github.com/BentoBoxWorld/Greenhouses/issues/68
2021-01-17 08:41:50 -08:00
tastybento cd5a0ce2a1 Async greenhouse building
https://github.com/BentoBoxWorld/Greenhouses/issues/68
2021-01-16 18:57:01 -08:00
tastybento baa933881d Walls are now async 2021-01-16 14:27:29 -08:00
tastybento cc114027da Made roof search async 2021-01-16 09:16:09 -08:00
tastybento 08e9c25172 Shuffles where plants are grown in the greenhouse
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/54
2021-01-11 17:12:18 -08:00
tastybento 5a4d1a35c3 Use internal bounding box 2021-01-10 11:57:02 -08:00
tastybento 1a1c013626 Support doubles for probabilities.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/61
2020-11-15 15:35:59 -08:00
tastybento 9ae9cdbfd6 Fixes errors when loading greenhouses. 2020-11-15 15:02:13 -08:00
tastybento 0bbc25cfd1 Blocks only convert based on blocks inside the greenhouse.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/63
2020-11-15 14:38:19 -08:00
tastybento 5f8e8fae99 Refactored Walls and added test class 2020-10-11 09:03:13 -07:00
tastybento 2419e40241 Added GreenhouseFinder test class 2020-10-04 16:32:34 -07:00
tastybento 26ef3d3a24 Fixes mob spawning in water.
https://github.com/BentoBoxWorld/Greenhouses/issues/62
2020-08-25 18:04:53 -07:00
tastybento 9d85e37e1b Perform block conversions in 3D.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/59
2020-08-22 17:55:38 -07:00
tastybento ad82941452 Added setting to remove glowstone as an option for walls and roof.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/57
2020-08-22 15:52:18 -07:00
tastybento a7e454065d Mobs can spawn on blocks with plants on them.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/56
2020-08-22 15:22:14 -07:00
tastybento ef65a66bdb Changes the way conversions work to use a list.
Multiple conversions to the same material is now possible.
Backward compatible to old biomes.yml files.

Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/53
2020-08-16 10:18:18 -07:00
tastybento 38eeb47431 Fix for 1.16.1 nether biomes
https://github.com/BentoBoxWorld/Greenhouses/issues/51
2020-07-06 16:26:08 -07:00
tastybento 6266ffef49 Bentobox 1.14 api 2020-06-10 21:35:38 -07:00
tastybento be5f40b9c0 Removes recipe log spam.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/44
2020-01-30 09:52:53 -08:00
Josh 01b607edd4 dont do work for greenhouses that arent loaded by players, checks the min and max coords for being loaded (#40) 2020-01-13 10:34:44 -08:00
tastybento d41e49597d Improves calculations for finding greenhouse. 2019-11-22 20:58:32 -08:00
tastybento d990c7ac23 Renamed parameters 2019-11-01 15:49:21 -07:00
tastybento 21ef0f3c10 Fixed bugs. 2019-11-01 15:45:40 -07:00
tastybento 680097cc38 Improved refactor of RecipeManager 2019-11-01 15:22:30 -07:00
tastybento 697feef3bb Refactored recipe loading to be easier to understand. 2019-11-01 15:09:28 -07:00
tastybento 470124c389 Removed debug. 2019-11-01 14:54:06 -07:00
tastybento e71e25f2bb Fixes overspawning in greenhouses. Makes spawn locs random. 2019-11-01 14:50:20 -07:00
tastybento 64fcefe2d2 Code smell removal 2019-10-31 21:36:05 -07:00
tastybento 29fd573d0c Prevents mobs from spawning in the greenhouse wall
https://github.com/BentoBoxWorld/Greenhouses/issues/26

Some large mobs can spawn next to the wall and pop out of the
greenhouse. This deletes them if they are too big.
2019-10-17 22:37:27 -07:00
tastybento 6e13cbf999 Added missing block check for greenhouse 2019-10-11 18:52:32 -07:00
tastybento f28a50eb5f Reduces the amount of bonemeal required for plants
https://github.com/BentoBoxWorld/Greenhouses/issues/16
2019-09-14 18:33:54 -07:00
tastybento 0b10dadc2e Counts mobs in unloaded chunks better.
https://github.com/BentoBoxWorld/Greenhouses/issues/18
2019-09-14 18:09:26 -07:00