SHOW:
|
|
- or go back to the newest paste.
| 1 | command /block <text>: | |
| 2 | permission: tps.block | |
| 3 | - | usage: /block <iron/diamond/emerald/redstone/lapis/snow/clay> or /bl <i/d/e/r/l/s/c> |
| 3 | + | usage: /block <iron/diamond/emerald/redstone/lapis/snow/clay/coal> or /bl <i/d/e/r/l/s/c/cl> |
| 4 | aliases: /bl | |
| 5 | trigger: | |
| 6 | arg is "emerald" or "e": | |
| 7 | player does not have 9 emerald: | |
| 8 | send "<light red>You need more materials for this." | |
| 9 | set {_temp} to amount of emerald in player's inventory
| |
| 10 | set {_temp} to {_temp}/9
| |
| 11 | set {_temp2} to 0
| |
| 12 | remove 10000 emeralds from the player | |
| 13 | send "<gray>You have replaced your emeralds to emerald blocks" | |
| 14 | loop 1000 times: | |
| 15 | set {_temp2} to {_temp2}+1
| |
| 16 | {_temp2} > {_temp}:
| |
| 17 | stop trigger | |
| 18 | give player an emerald block | |
| 19 | arg is "iron" or "i": | |
| 20 | player does not have 9 iron ingots: | |
| 21 | send "<light red>You need more materials for this." | |
| 22 | set {_temp} to amount of iron ingots in player's inventory
| |
| 23 | set {_temp} to {_temp}/9
| |
| 24 | set {_temp2} to 0
| |
| 25 | remove 10000 iron ingots from the player | |
| 26 | send "<gray>You have replaced your iron to iron blocks" | |
| 27 | loop 1000 times: | |
| 28 | set {_temp2} to {_temp2}+1
| |
| 29 | {_temp2} > {_temp}:
| |
| 30 | stop trigger | |
| 31 | give player an iron block | |
| 32 | arg is "diamond" or "d": | |
| 33 | player does not have 9 diamond: | |
| 34 | send "<light red>You need more materials for this." | |
| 35 | set {_temp} to amount of diamond in player's inventory
| |
| 36 | set {_temp} to {_temp}/9
| |
| 37 | set {_temp2} to 0
| |
| 38 | remove 10000 diamonds from the player | |
| 39 | send "<gray>You have replaced your diamonds to diamond blocks" | |
| 40 | loop 1000 times: | |
| 41 | set {_temp2} to {_temp2}+1
| |
| 42 | {_temp2} > {_temp}:
| |
| 43 | stop trigger | |
| 44 | give player an diamond block | |
| 45 | arg is "redstone" or "r": | |
| 46 | player does not have 9 redstone: | |
| 47 | send "<light red>You need more materials for this." | |
| 48 | set {_temp} to amount of redstone in player's inventory
| |
| 49 | set {_temp} to {_temp}/9
| |
| 50 | set {_temp2} to 0
| |
| 51 | remove 10000 redstone from the player | |
| 52 | send "<gray>You have replaced your redstone to redstone blocks" | |
| 53 | loop 1000 times: | |
| 54 | set {_temp2} to {_temp2}+1
| |
| 55 | {_temp2} > {_temp}:
| |
| 56 | stop trigger | |
| 57 | give player an redstone block | |
| 58 | arg is "lapis" or "l": | |
| 59 | player does not have 9 lapis lazuli: | |
| 60 | send "<light red>You need more materials for this." | |
| 61 | set {_temp} to amount of lapis lazuli in player's inventory
| |
| 62 | set {_temp} to {_temp}/9
| |
| 63 | set {_temp2} to 0
| |
| 64 | remove 10000 lapis lazuli from the player | |
| 65 | send "<gray>You have replaced your lapis lazuli to lapis blocks" | |
| 66 | loop 1000 times: | |
| 67 | set {_temp2} to {_temp2}+1
| |
| 68 | {_temp2} > {_temp}:
| |
| 69 | stop trigger | |
| 70 | give player an lapis block | |
| 71 | arg is "clay" or "c": | |
| 72 | player does not have 4 clay: | |
| 73 | send "<light red>You need more materials for this." | |
| 74 | set {_temp} to amount of 337 in player's inventory
| |
| 75 | set {_temp} to {_temp}/4
| |
| 76 | set {_temp2} to 0
| |
| 77 | remove 10000 337 from the player | |
| 78 | send "<gray>You have replaced your clay to clay blocks" | |
| 79 | loop 1000 times: | |
| 80 | set {_temp2} to {_temp2}+1
| |
| 81 | {_temp2} > {_temp}:
| |
| 82 | - | give player an snow block |
| 82 | + | |
| 83 | give player an clay block | |
| 84 | arg is "snow" or "s": | |
| 85 | player does not have 4 snow: | |
| 86 | send "<light red>You need more materials for this." | |
| 87 | set {_temp} to amount of snowballs in player's inventory
| |
| 88 | set {_temp} to {_temp}/4
| |
| 89 | set {_temp2} to 0
| |
| 90 | remove 10000 snowballs from the player | |
| 91 | send "<gray>You have replaced your snow to snow blocks" | |
| 92 | loop 1000 times: | |
| 93 | set {_temp2} to {_temp2}+1
| |
| 94 | {_temp2} > {_temp}:
| |
| 95 | stop trigger | |
| 96 | give player an snow block | |
| 97 | arg is "coal" or "cl": | |
| 98 | player does not have 9 coal: | |
| 99 | send "<light red>You need more materials for this." | |
| 100 | set {_temp} to amount of coal in player's inventory
| |
| 101 | set {_temp} to {_temp}/4
| |
| 102 | set {_temp2} to 0
| |
| 103 | remove 10000 coal from the player | |
| 104 | send "<gray>You have replaced your coal to coal blocks" | |
| 105 | loop 1000 times: | |
| 106 | set {_temp2} to {_temp2}+1
| |
| 107 | {_temp2} > {_temp}:
| |
| 108 | stop trigger | |
| 109 | give player an coal block |