QuickHarvest
By
DNxCreated: 2018/04/08 20:27:46 UTC-07:00 (6 years and 260 days ago)
Edited: 2018/04/08 20:27:46 UTC-07:00 (6 years and 260 days ago)
Likes: 0
Denizen Version: 0.9.8
Script Version: 0.0.1
Description:
Quickly harvest your crops by simply right clicking.
Download script |
View raw scriptQuickHarvest_Listener:
type: world
events:
on player right clicks block:
- if <c.location.material.item.is_crop>
{
- define growth <c.location.material.item.plant_growth>
- if %growth% == RIPE || %growth% == LARGE
{
- if %growth% == RIPE
{ - adjust <c.location.material.item> plant_growth:SEEDED save:x }
else if %growth% == LARGE
{ - adjust <c.location.material.item> plant_growth:SMALL save:x }
- ~modifyblock <c.location> m@air naturally
- ~modifyblock <c.location> <entry[x].result.material>
}
}
View History