What's new?
- move from
pextysrudios.*
toio.github.aratakileo.*
- now in the config, it's possible to choose the behavior for harvesting items by the player (#1 fixed by #2)
Now in config.yml
:
sound: minecraft:block.composter.ready # played sound when quick harvest
feature:
player: default # quick harvest by right-click:
# default - harvested items will automatically save to inventory
# vanilla - harvested items will just drop on the ground
# disabled - completely disable this feature
dispenser: yes # quick harvest by dispenser (yes/no)
reason:
minecraft:wheat_seeds: # item in hand
target: minecraft:wheat # harvest block (works when harvest age equals max age)
minecraft:beetroot_seeds:
target: minecraft:beetroots
minecraft:potato:
target: minecraft:potatoes
minecraft:carrot:
target: minecraft:carrots
minecraft:nether_wart:
target: minecraft:nether_wart
minecraft:cocoa_beans:
target: minecraft:cocoa
- Added support harvest by dispenser. If crop is not grown yet, then dispenser just drop that seeds as item
- New configuration settings
feature.player
andfeature.dispenser
for plugin features managment - Source code refactoring
- harvest algorithm smartest than before
- now the seeds are deducted from the drop, not from the player's inventory
- now if the drop does not fit into the inventory, in the amount in which it fell out, but there is a little free space in which a drop with a smaller amount would fit, then the drop is divided into two parts, the first is added to the inventory, the second is spawned, in the amount that did not fit into the inventory
- expanding the settings in the configuration, namely, the ability to set the harvest sound at your discretion has been added