Commit Graph

126 Commits

Author SHA1 Message Date
BONNe
bac50bff89
Update GreenhousesPladdon.java 2023-04-08 18:39:20 +03:00
tastybento
ac1d6e6638 Remove debug 2023-03-26 10:25:40 -07:00
BONNe
3740268dfc
Update to new Bukkit Loader 2023-03-26 14:04:06 +03:00
tastybento
308dc225cd Remove unused imports 2023-03-18 11:17:52 -04:00
tastybento
95474d6c53 Fixed maxmobs typo instead of maxmob 2023-03-16 22:40:43 -04:00
tastybento
d2801dcd75 Fixes help text for user command.
Fixes #105
2023-03-10 08:50:18 -08:00
tastybento
e4bbb70acb Added tests to cover #99 2023-03-01 18:30:35 -08:00
tastybento
66270cf3e7 Add max mobs option #99 2023-03-01 08:26:34 -08:00
tastybento
9e407e659e Address bugs reported by SonarCloud 2023-02-09 17:27:57 -08:00
tastybento
de6a939bb9 Adds support for COCOA #97 2023-01-01 22:29:02 -08:00
tastybento
10a1d63778 Remove debug
https://github.com/BentoBoxWorld/Greenhouses/issues/97
2023-01-01 21:17:39 -08:00
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
02490d3b85 Fix for glow lichen growing
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/96
2022-12-29 09:57:21 -08:00
Zorua162
61478ff4d5
Fixed issue where greenhouses could not be created below y=0 (#95)
* Fixed issue where greenhouses could not be greated below y=0

* Made the world floor change work with different lower world limits by using World#getMinHeight()
2022-10-30 18:50:40 +02:00
tastybento
8af2b2057d Remove some code smells. 2022-03-20 15:09:45 +00:00
BONNe
0a016c2eaa Add natural spawn protection listener.
Fixes #84
2022-02-27 21:33:21 +02:00
BONNe
e2b779a9cb
Add Pladdon Class (#90)
* Add Pladdon Class

Add Greenhouses Pladdon class.

* Add Spigot Annotations API
2022-02-19 11:17:08 -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
4aec983c81 Cauldron will fill up with snow
Also, snow will pile up as expected.

https://github.com/BentoBoxWorld/Greenhouses/issues/83
2021-09-26 12:54:46 -07: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
354806c060 Fills up cauldrons with snow.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/82
2021-09-25 11:19:39 -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
e61e76134b Make BiomeRecipe nonNull 2021-08-01 15:26:21 -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
7154877f14 Blocks under the walls were classed as walls.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/77
2021-04-08 17:13:32 -07:00
tastybento
19cd685900 Prevent pistons pulling blocks out.
Allow piston pushing of blocks above or below the greenhouse because
biomes are 3D now.

https://github.com/BentoBoxWorld/Greenhouses/issues/77
2021-02-18 17:09:42 -08:00
tastybento
999ea07ef0 Prevents piston-pushing of any wall or roof block
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/77
2021-02-17 16:49:42 -08:00
tastybento
29f04ef673 Fix bug with water in offhand and nether greenhouse
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/76
2021-02-17 12:43:39 -08:00
tastybento
f2faeb71df Correct comment 2021-02-13 10:30:05 -08:00
tastybento
69818923fc Setting hopper to null is valid
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/75
2021-02-13 10:27:57 -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
39a88a4f84 Fix bug where water couldn't be placed outside of greenhouse. 2021-01-31 18:58:06 -08:00
tastybento
b0a0ae6e88 Fixes water placement in nether-related areas
https://github.com/BentoBoxWorld/Greenhouses/issues/70
https://github.com/BentoBoxWorld/Greenhouses/issues/71
2021-01-30 11:45:56 -08:00
tastybento
a8dec9a89b Prevents placing of water in nether biome greenhouses.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/71
2021-01-29 20:13:34 -08:00
tastybento
63e6a5d3b0 Do not dump water when clicking on a door in the nether.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/70
2021-01-28 20:13:27 -08:00
tastybento
01a5548119 Removed admin commands 2021-01-17 11:42:54 -08:00
tastybento
0397f8fcfa Restore interrupted state 2021-01-17 11:34:41 -08:00
tastybento
1e83703f9b Deal with potential exceptions better. 2021-01-17 10:57:30 -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