世界
大小:33.1M 语言:简体中文
类型:游戏推荐 等级:
立即下载 查看详情
《我的世界》制作PVP地图时经常需要建造游戏大厅,很多玩家都卡在了这里。地图大厅怎么建造?接下来就为大家带来玩家“a_yu666”提供的游戏大厅建造教程,感兴趣的玩家一起来看看吧。
教程:
这是主要指令区!
羊毛指令!(不知道看后面)
就这些了,开始教怎么做了!!
这次讲的不细哦!
1.牌子指令
/give @P sign 1 0 {BlockEntityTag:{Text2:"{"text":"1v1v1v1","color":"dark_blue","bold":true}",Text3:"{"text":"( 总人数:4人 )","color":"red","clickEvent":{"action":"run_command","value":" ~ ~ ~ /setblock ~ ~ ~ redstone_block"}}",Text4:"{"text":"< 右击进入 >","clickEvent":{"action":"run_command","value":"/setblock x y z minecraft:redstone_block"}}"},display:{Name:"Custom Sign"}}
红色的可以改的
蓝色是放红石块的(激话后面的指令)
2.加入游戏提示
tellraw @a[x=1,y=5,z=10,r=4] ["",{"text":"<","color":"red"},{"selector":"@a[x=1,y=5,z=10,r=4]","bold":"true","color":"blue"},{"text":">","color":"red"},{"text":" –","color":"green"},{"text":" "},{"text":"加入了游戏","color":"gray"},{"text":" 人数:","color":"green"},{"text":"1
红色字是传送到选择大厅的坐标 r是半径
蓝色是提示人数1、2、3、4的
3.无法加入游戏提示
tellraw @a[x=21,y=5,z=4,r=1] ["",{"text":"<","color":"red"},{"selector":"@a[x=21,y=5,z=4,r=1]
红色是牌子坐标(后面会讲到)
4.当然也须要记分版
/scoreboard objectives add 1 stat.craftItem.minecraft.chorus_fruit_popped 人数
所有主要指令打出来了!!!
(1)先讲怎么激话指令的
图:
黄色是清理红石块的
/setblock ~1 ~ ~ minecraft:air
蓝色提示人满了
tellraw @a[x=21,y=5,z=4,r=1] ["",{"text":"<","color":"red"},{"selector":"@a[x=21,y=5,z=4,r=1]","bold":"true","color":"blue"},{"text":">","color":"red"},{"text":" –","color":"green"},{"text":" "},{"text":"人数已满","color":"gray"},{"text":" 无法加入","color":"green"},{"text":" error.thenumberoffull.room1","color":"red"}]
紫色是传送人
tp @a[x=,y=,z=,r=2] x y z
红色是记分版增加用的
/scoreboard players add @e[x=,y=,z=,r=4] 1 1
(2)提示人数
红色是测量分数的
/scoreboard players test @a 1 1 1
/scoreboard players test @a 1 2 2
/scoreboard players test @a 1 3 3
/scoreboard players test @a 1 3 3
蓝色是提示人数指令的
tellraw @a[x=,y=,z=,r=4] ["",{"text":"<","color":"red"},{"selector":"@a[x=,y=,z=,r=2]","bold":"true","color":"blue"},{"text":">","color":"red"},{"text":" –","color":"green"},{"text":" "},{"text":"加入了游戏","color":"gray"},{"text":" 人数:","color":"green"},{"text":"1","color":"blue","bold":"true"}]
紫色是启动羊毛指令、清空分数和到计时的
清空分数:/scoreboard players set @a 1 0
(3)羊毛指令
红色是放红色羊毛
<
- 1
2
3
4