- Added 1.19.3 support
- Added a new config section for crops to die if the pot is dry
- Readded entity check for item frame mode
- Optimized crop config loading
- Fixed a lang issue about {season} placeholder
- Updated Adventure api to 4.12.0
- Updated MiniMessage to 4.12.0
【IMPORTANT】In this version you need to manually specify max-stage in crop_xxx.yml (For ItemsAdder users, you need to specify the namespace in crop_itemsadder.yml too[There's a new section at the end of the yml file]). This is aimed for less check and better plugin performance. If you are using the default config, it would be automatically updated and continue to work, you don't need to do any changes! Plugin performance would improve about 15%~25% in this update theoretically.
If you meet any bugs, report them in Discord. If you have problems with crop data please get the backup files in your /plugins/CustomCrops/backups folder
grape:
max-stage: 6
quality-loots:
amount: 3~4
quality:
'1': customcrops:grape
'2': customcrops:grape_silver_star
'3': customcrops:grape_golden_star
return: customcrops:grape_stage_4
season:
- Spring
- Summer
- Autumn
Update log:
1. When a world is unloaded, its crops would not continue their growing
2. Optimized watered pot drying judgement
3. Crop mode now supports reloading, so no need to restart the server when changing mode for test
4. Now crop name supports "_" for example red_pepper
5. Fixed crop cache not removed in Oraxen item frame mode when breaking the pot
6. Fixed players can still interact with sprinklers if enabled additional events in ItemsAdder item frame mode
7. Fixed players can still water pots if enabled additional events in Oraxen Tripwire mode
8. Removed useless check in ItemsAdder item frame mode
9. Optimized the whole judgement logic and improves about 15~25% performance
10. Fixed dry pots always drop amount one when dropping wet pots from inventory
11. Added new config section: drop-loots-in-all-worlds
- Fix plant problem in Item Frame mode since previous interact optimization update
- Code clean up
- Optimized interact events
- Fix some less important potential errors
- Fixed crop duplication in ItemsAdder itemframe mode
- Fixed crops would not grow in ItemsAdder mode(bug in 2.0.11)
- Fix crop grow issues if it has more than 10 stages
- Beta test with new Oraxen api (1.146.1+)
- fixed namespace contains "_" 's error
- fixed breaking pot(with crop above) error in ItemsAdder Item fame mode
- fixed negative amount of water if you set water-block-to-water-can higher than 1
- Fixed sprinkler would work one more time than the water amount
- Fixed crops stack in one block in item_frame mode
- Added an option to disable rotation for some crops
- Added 6 new default crops
Problems you might meet:
how to get the new default crops config?
method①: open the jar with a software like bandizip and get the crops.yml
method②: delete old crops.yml and regenerate one
how to plant the apple tree?
see in your config.yml and make sure that your crop.yml contains apple's config
convert-to-customcrops:
enable: true
list:
APPLE: apple
- Improved APIs
- Removed additional check for chorus plant (For ItemsAdder users, It's advised to use ItemsAdder3.2.5 (not released yet) and newest CustomCrops)
- Fixed a NPE when harvesting crops if there's other drops without skill hook
- Added command backup/savecache to handle the data cache and other uses
- Added auto data save if you enabled auto-grow for better data security
- Optimized crop data cache storage
- Prevent players from getting wet pot
- Fixed NPE when enabling skill-bonus but no skill plugin is hooked
- Added {suitable} placeholder in wrong-season message
- Code clean up
- It should be current season instead of suitable season at messages.wrong-season
- Now sprinkler's data would be removed from cache when it has no water.
- Fixed API events
- Spigot is not so recommended because I am developing with PaperAPI and testing with Paper server
- Added new api methods
- Improved whitelist world judgement
- Fixed RealisticSeasons Hook
- Fixed possible data NPE when server start
- Added {season} placeholder in wrong-season message
- Fixed async crow event
- Fixed RealisticSeason hook when unloading the world
- Added new option in config.yml (Which would change the amount of crops that player get according to their skill level)
- Fixed a NPE when there are no quality loots
- Fix JobsReborn Integration