Jump to content

CoraftMC

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by CoraftMC

  1. on rightclick on wheat:
      if player is holding a hoe:
        cancel event
         message "{@tag} &aYou succesfully farmed wheat!"
         set block to air
         drop wheat
         set durability of player's tool to (durability of player's tool + 1)
         add 1 to {xp.%player%}
         set event-block to air
         wait 10 seconds
         set event-block to crops

  2. on right click on wheat:

    if player is holding a hoe:

    cancel event message "{@tag} &aYou succesfully farmed wheat!"

    set block to air

    drop wheat

    set durability of player's tool to (durability of player's tool + 1)

    add 1 to {xp.%player%}

    set event-block to air

    wait 10 seconds

    set event-block to crops

×
×
  • Create New...