Commit Graph

167 Commits

Author SHA1 Message Date
tastybento 0b9019fbfa Fix test 2021-08-01 15:29:36 -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 54f956cf23 Merge branch 'develop' of https://github.com/BentoBoxWorld/Greenhouses.git into develop 2021-02-03 17:40:53 -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
Huynh Tien 0e2a6159c5
add Vietnamese (#72) 2021-02-03 12:15:43 -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 79d1c743c1 Corrected tests. 2021-01-28 20:21:29 -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 5c583284ff Cleans up locale 2021-01-17 09:57:46 -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 ff487a7990 Fixed RoofTest 2021-01-16 09:58:25 -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 2ccb25e3fc Convert grass and gravel in desert 2021-01-10 11:57:17 -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 79a203cbf5 Added some 1.16.x nether biomes 2020-11-15 15:21:23 -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 2260e2176d Added default perm to see nether biomes. 2020-11-15 14:37:44 -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
tastybento 56b1a9aa93 Support multi-conversion recipes. 2020-08-16 12:49:27 -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
Ruby d0380d1be1
Chinese Translation (#52) 2020-07-09 18:01:01 -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 149ebfb2ba Greenhouses flag was not showing up in settings
Fixes https://github.com/BentoBoxWorld/Greenhouses/issues/50
2020-06-13 08:19:30 -07:00
tastybento 6266ffef49 Bentobox 1.14 api 2020-06-10 21:35:38 -07:00
Josh 3f92772e39
getChunk loads chunks, use right method (#49) 2020-06-08 12:33:56 -07:00
tastybento 51d82d0b9b Only track snow for loaded greenhouses.
Load chunks async.

https://github.com/BentoBoxWorld/Greenhouses/issues/47
2020-03-21 21:19:00 -07:00
mindw0rm 852d35ea6f
removed unnecessary and erroneous filter for roof materials (#45) 2020-02-12 07:50:01 -08:00
tastybento e30f030dc8
Czech translation. Credit @Polda18 2020-01-30 10:29:31 -08: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 aeddccc23b Added build number to addon version 2019-11-30 18:44:08 -08:00
András Marczinkó a4697a38b3 Translated into Hungarian (#36) 2019-11-25 20:14:55 -08:00
tastybento 42a3da2bfd Improved roof detection. Added missing error. 2019-11-22 21:23:42 -08:00
tastybento d41e49597d Improves calculations for finding greenhouse. 2019-11-22 20:58:32 -08:00
tastybento c8008e34e2 Limits roof glass search to a radius of 3 instead of 100
Search was taking too long if there was no glass and timing out the
server.
https://github.com/BentoBoxWorld/Greenhouses/issues/31
2019-11-12 11:38:17 -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 f7796d7996 Refactor Walls and Roof code 2019-10-31 21:51:24 -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 15b2c63450 Prevents snow from damaging walls
https://github.com/BentoBoxWorld/Greenhouses/issues/29
2019-10-14 19:01:54 -05:00
tastybento 54fd683906 Merge branch 'develop' of https://github.com/BentoBoxWorld/Greenhouses.git into develop 2019-10-14 18:20:03 -05:00
tastybento d01e01618c Added test classes 2019-10-14 11:39:50 -07:00
tastybento 460e012b62 Fixed snowing. BoundingBox coords wrong.
https://github.com/BentoBoxWorld/Greenhouses/issues/27
2019-10-13 16:17:20 -07:00
tastybento 30c693c6e0 Added BiomeRecipe test class 2019-10-12 17:09:38 -07:00
tastybento 31bc36c470 Adds recipe option to make command
Completes missing block check.

https://github.com/BentoBoxWorld/Greenhouses/issues/25
2019-10-12 09:31:51 -07:00
tastybento 6e13cbf999 Added missing block check for greenhouse 2019-10-11 18:52:32 -07:00
tastybento 60f9b3e1f1 Fixes support for double-height plants
https://github.com/BentoBoxWorld/Greenhouses/issues/2
2019-09-19 16:21:43 -07:00
tastybento 228644d40f Fixes where water could be placed in nether
https://github.com/BentoBoxWorld/Greenhouses/issues/3
https://github.com/BentoBoxWorld/Greenhouses/issues/22
2019-09-19 15:44:12 -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
tastybento 49c0689e78
Japanese translation (#19)
* Translate ja.yml via GitLocalize
2019-09-02 09:58:35 -07:00
tastybento 9beae88c1a Fixes locale reference typo.
https://github.com/BentoBoxWorld/Greenhouses/issues/20
2019-09-02 09:43:42 -07:00
tastybento 2da57376a4 Removed test lines 2019-09-02 09:42:16 -07:00
tastybento bfd6e29000 Merge branch 'develop' of https://github.com/BentoBoxWorld/Greenhouses.git into develop 2019-09-02 09:41:43 -07:00
tastybento 2fc549949d Added back Flower Forest biome. 1.14.4 update
https://github.com/BentoBoxWorld/Greenhouses/issues/20
2019-09-02 09:41:34 -07:00
tastybento 9da8d28122
second change 2019-09-01 08:35:33 -07:00
tastybento 8d2a28022e
Added test line 2019-09-01 08:29:02 -07:00
tastybento 182d5763b6 Added greenhouses as an alias 2019-08-11 17:43:17 -07:00
tastybento 815caa799a Fixes issue where greenhouse biome was not reverted on breakage
Also removed greenhouses that no longer have an island.

https://github.com/BentoBoxWorld/Greenhouses/issues/11
2019-08-01 13:29:25 -07:00
tastybento 96936bdc9a Added recipe title to logging. 2019-07-21 19:16:11 -07:00
tastybento 085db69dff Fixes bug where animals spawn too much in greenhouses.
Also tracks island deletion so greenhouses are removed when that
happens.
2019-07-08 07:53:03 -07:00
tastybento 2341d9e3eb Fixed a lot of things. 2019-07-07 15:45:47 -07:00