Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /scoreboard objectives add Click stat.useItem.minecraft.carrot_on_a_stick
- testfor @a[score_Click_min=1]
- /scoreboard players set @a[score_Click_min=1] Click 0 (MIT REDSTONE DELAY!)
- /clone X Y Z X2 Y2 Z2 ZIELBLOCK ZIELBLOCK ZIELBLOCK
- /testfor @a[score_Click_min=1] {Inventory:[{tag:{display:{Name:"Normale-Crate"}}}]}
- /scoreboard players set @a[score_Click_min=1] ClickGew 1
- /execute @r[type=ArmorStand,name=NormalRandom] setblock ~ ~-2 ~ redstone_block
- # +------+ ArmorStands +------+ #
- NAME hat geöffnet: /tellraw @a ["",{"text":"[","color":"dark_gray"},{"text":"Custom","color":"yellow"},{"text":"Crates","color":"gold"},{"text":"] ","color":"dark_gray"},{"selector":"@a[score_ClickGew_min=1]","color":"yellow"},{"text":" hat","color":"gray"},{"text":" eine","color":"gray"},{"text":" Normale","color":"gold"},{"text":"-","color":"gray"},{"text":"Crate ","color":"yellow"},{"text":"geöffnet","color":"green"}]
- Du hast gewonnen: /tellraw @a[score_Click_min=1] ["",{"text":"[","color":"dark_gray"},{"text":"Custom","color":"yellow"},{"text":"Crates","color":"gold"},{"text":"] ","color":"dark_gray"},{"text":"Du hast ","color":"gray"},{"text":"ANZAHL ","color":"yellow"},{"text":"ITEM ","color":"aqua"},{"text":"gewonnen","color":"green"},{"text":"!","color":"gray"}]
- Item geben (CMD für CMD-Block): give @a[score_Click_min=1] ITEM ANZAHL
- ClearCMD: /clear @a[score_ClickGew_min=1] minecraft:carrot_on_a_stick 0 1 {display:{Name:"§6Normale§8-§eCrate",Lore:["§7Rechtsklicke die §eCrate §7um sie zu §aöffnen"]},ench:[{id:0,lvl:1}],HideFlags:7}
- setblock X Y Z air
- Crate zum öffnen: /give @p minecraft:carrot_on_a_stick 1 0 {display:{Name:"§6Normale§8-§eCrate",Lore:["§7Rechtsklicke die §eCrate §7um sie zu §aöffnen"]},ench:[{id:0,lvl:1}],HideFlags:7}
- Crate-Testfor (Name): /testfor @a[score_Click_min=1] {Inventory:[{tag:{display:{Name:"§6Normale§8-§eCrate"}}}]}#
- /scoreboard players set @a[score_ClickGew_min=1] ClickGew 0
- (Diese CMDS (# +------+ ArmorStands +------+ #) am besten 10 mal machen (10 ArmorStand's) logisch auch mehr arbeit aber besser
- und man kann viel mehr items bekommen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement