Commit Graph

106 Commits

Author SHA1 Message Date
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
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
fad9936e24 Added setting for glass panes
Added test cases and class for settings

https://github.com/BentoBoxWorld/Greenhouses/issues/66
2021-01-10 10:51:35 -08:00
tastybento
7fb5313537 Version 1.4.2 Update to BentoBox API 1.15.4 2020-12-27 11:17:56 -08:00
tastybento
32055440a8 Prevents piglins and hoglins zombifying in overworld.
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/60
2020-11-15 15:54:06 -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
50e3bf2988 Refactored roof search complexity 2020-10-11 08:08:17 -07:00
tastybento
2419e40241 Added GreenhouseFinder test class 2020-10-04 16:32:34 -07:00
tastybento
a96a926a7d Added test class for GreenhouseEvents 2020-10-03 16:08:17 -07:00
tastybento
fde4287636 Added test cases for Greenhouse class 2020-10-03 14:44:20 -07:00
tastybento
25277a09c7 Improves config.yml reading and saving.
Can handle lower-case game mode naming.

May help https://github.com/BentoBoxWorld/Greenhouses/issues/64
2020-09-24 11:56:00 -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