Date: 2015/07/02 22:38:57 UTC-07:00
Type: Denizen Script
SillFARMING:
type: world
debug: false
breed:
- define qty <player.iteminhand.qty>
- wait 1t
- if <c.entity.can_breed> && <pl.iteminhand.qty.is[LESS].to[%qty%]> run skillxp def:<script.yaml_key[Xp.<c.entity.entity_type>]||1>|FARMING
events:
on player right clicks sheep with wheat:
- inject locally breed
on player right clicks chicken with seeds:
- inject locally breed
on player right clicks cow with wheat:
- inject locally breed
on player right clicks pig with carrot_item:
- inject locally breed