kuangsanlaopo
就是每个玩家的建筑上方都会有盔甲架,然后上一位玩家用铁毡输入一个物品的名称,然后放入漏斗这么样让那个到漏斗的纸上的字出现在下一位玩家的建筑上方的盔甲架上方?

晴路卡
本帖最后由 晴路卡 于 2020-6-14 15:19 编辑

版本1.13+
  1. execute positioned a b c run data modify entity @e[type=armor_stand,limit=1,sort=nearest] CustomName set from block x y z Items[0].tag.display.Name
复制代码

a b c是盔甲架坐标
x y z是漏斗的坐标
哦当然你需要盔甲架显示名字的话还要执行
  1. execute as @e[type=armor_stand] run data modify entity @s CustomNameVisible set value 1b
复制代码




kuangsanlaopo
晴路卡 发表于 2020-6-14 14:57
版本1.13+

a b c是盔甲架坐标

这个指令1.14能用么

kuangsanlaopo
晴路卡 发表于 2020-6-14 14:57
版本1.13+

a b c是盔甲架坐标

话说显示目标不是实体方块是啥情况