Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &7[&aVanozia&7]
- diam: 5
- iron: 10
- gold: 10
- emerald: 5
- coal: 15
- stone: 35
- obsidian: 10
- end: 5
- nether: 5
- command /setgenerateur:
- trigger:
- if targeted block is end stone:
- set {tarte} to location of targeted block
- set {statu} to false
- loop {det::*}:
- if loop-value is "%{tarte}%":
- set {statu} to true
- if {statu} is true:
- send "{@prefix} &cCe Générateur de Minerai existe dêja !"
- else:
- send "{@prefix} &2Générateur de Minerai ajoutez avec succès !"
- add "%{tarte}%" to {det::*}
- set {tarte.%{tarte}%} to true
- else:
- send "{@prefix} &cTu doit regarder de l'end stone !"
- command /removegenerateur:
- trigger:
- set {tarte} to location of targeted block
- set {statu} to false
- loop {det::*}:
- if loop-value is "%{tarte}%":
- set {statu} to true
- if {statu} is false:
- send "{@prefix} &cCe Générateur de Minerai n'existe dêja !"
- else:
- send "{@prefix} &2Générateur de Minerai supprimée avec succès !"
- remove "%{tarte}%" from {det::*}
- delete {tarte.%{tarte}%}
- on break:
- if {tarte.%location of block%} is set:
- set {tarte} to location of block
- wait 1 tick
- chance of {@diam}%:
- set block at {tarte} to diamond ore
- chance of {@gold}%:
- set block at {tarte} to gold ore
- chance of {@stone}%:
- set block at {tarte} to stone
- chance of {@emerald}%:
- set block at {tarte} to emerald ore
- chance of {@obsidian}%:
- set block at {tarte} to obsidian
- chance of {@coal}%:
- set block at {tarte} to coal ore
- chance of {@iron}%:
- set block at {tarte} to iron ore
- chance of {@end}%:
- set block at {tarte} to end stone
- chance of {@nether}%:
- set block at {tarte} to netherrack
- else if block at {tarte} is air:
- set block at {tarte} to stone
Advertisement
Add Comment
Please, Sign In to add comment