Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding a Paper:
- if "%name of player's held item%" is "&9Gauze" or "Gauze":
- if target block is a chest:
- stop
- if target block is a furnace:
- stop
- if target block is a sign:
- stop
- if target block is a ender chest:
- stop
- if target block is a crafting table:
- stop
- if target block is a dispenser:
- stop
- if player's health is 10:
- send "Your health is full" to player
- stop
- apply regeneration to player for 10 seconds
- remove 1 paper from player
- /////////////////////////////////////////////////////////////////////////////////////////////////////////
- What I tried:
- on rightclick holding a Paper:
- if "%name of player's held item%" is "&9Gauze" or "Gauze":
- if target block is a chest:
- stop
- if target block is a furnace:
- stop
- if target block is a sign:
- stop
- if target block is a ender chest:
- stop
- if target block is a crafting table:
- stop
- if target block is a dispenser:
- stop
- if player's health is 10:
- send "Your health is full" to player
- stop
- apply regeneration to player for 10 seconds
- remove 1 paper from player
- wait 2 minutes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement