10
This is about teams,shops,how to summon mobs with effects and how to detect teams and mobs.
shop
cmd 1 /give @p[lm=4,r=6] 373 1 16373
cmd 2 /xp -4L @p[lm=4,r=8]
Detect Mobs: testfor @e[type=Zombie,r=20]
Team Detector: testfor @p[team=BLUE,r=3]
Zombie with a effect: /summon Zombie ~ ~1 ~ {ActiveEffects:[{Id:10,Amplifier:655,Duration:32167,Ambient:1}]},CanPickUpLoot:true
How to make teams: /scoreboard teams add <team name>
How to add colors for teams: /scoreboard option teams <team name> <color>
How to join a team: /scoreboard teams join <team name>
This is how to get items with discription,names and enchantments:
Custom Name
/give @p minecraft:itemnamehere 1 0 {display:{Name:"namegoeshere"}}
Custom Description
/give @p minecraft:itemnamehere 1 0 {display:{Lore:["descriptionhere"]}}
Custom Enchantments
/give @p minecraft:itemnamehere 1 0 {ench:[{id:enchantmentidhere,lvl:enchantmentlevelhere}]}
shop
cmd 1 /give @p[lm=4,r=6] 373 1 16373
cmd 2 /xp -4L @p[lm=4,r=8]
Detect Mobs: testfor @e[type=Zombie,r=20]
Team Detector: testfor @p[team=BLUE,r=3]
Zombie with a effect: /summon Zombie ~ ~1 ~ {ActiveEffects:[{Id:10,Amplifier:655,Duration:32167,Ambient:1}]},CanPickUpLoot:true
How to make teams: /scoreboard teams add <team name>
How to add colors for teams: /scoreboard option teams <team name> <color>
How to join a team: /scoreboard teams join <team name>
This is how to get items with discription,names and enchantments:
Custom Name
/give @p minecraft:itemnamehere 1 0 {display:{Name:"namegoeshere"}}
Custom Description
/give @p minecraft:itemnamehere 1 0 {display:{Lore:["descriptionhere"]}}
Custom Enchantments
/give @p minecraft:itemnamehere 1 0 {ench:[{id:enchantmentidhere,lvl:enchantmentlevelhere}]}
Tags |
tools/tracking
2944175
6
commandblock-tutorial-2
Create an account or sign in to comment.