Advertisement
Mortem420

Smelter

Sep 22nd, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.73 KB | None | 0 0
  1. author: "Mortem420"
  2.  
  3. identifier: Smelter
  4.  
  5. max-level: 1
  6.  
  7. group: COMMON
  8.  
  9. applied-format: "&7Smelter"
  10.  
  11. description:
  12.  - "Automatically smelts iron and"
  13.   - "gold ore into ingots"
  14.  
  15. item-whitelist:
  16.  - "PICKAXES"
  17.  
  18. effects:
  19.   CONSOLE_COMMAND:
  20.     trigger: BLOCK_BREAK
  21.     condition: "{block_type} == 'IRON_ORE'"
  22.     command:
  23.       - "give %player_name% iron_ingot 1"
  24.   CONSOLE_COMMAND-0:
  25.     trigger: BLOCK_BREAK
  26.     condition: "{block_type} == 'GOLD_ORE'"
  27.     command:
  28.       - "give %player_name% gold_ingot 1"
  29.   MODIFY_BLOCK-1:
  30.     trigger: BLOCK_BREAK
  31.     condition: "{block_type} == 'IRON_ORE'"
  32.     material: AIR
  33.   MODIFY_BLOCK-2:
  34.     trigger: BLOCK_BREAK
  35.     condition: "{block_type} == 'GOLD_ORE'"
  36.     material: AIR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement