xiaowei233v
本帖最后由 xiaowei233v 于 2020-12-6 15:55 编辑

版本[1.16.4]

__________________________________________________
问题1.
        在对CustomName 输入JSON文本时候 无法应用记分板数据
        比如目前计分板上有Fuse项目 并且我把所有<点燃的tnt>的Fuse值转到记分板上
        #因为customname我好像光光输入数字穿不进去 所以只能'xxx'
        /execute as @e[type=tnt] store result score @s Fuse run data get entity @s Fuse
        /execute as @e[type=tnt] run data modify entity @s {} merge value {CustomName:'[{"text":"爆炸剩余时间"},{"score":{"objective":"Fuse","name":"@s"}}]',CustomNameVisible:1b}
        对于tellraw中JSON文本对象引用数据正常
        /tellraw @s [{"text":"爆炸剩余时间"},{"score":{"objective":"Fuse","name":"@e[type=tnt,limit=1,sort=nearest]"}}]
__________________________________________________





__________________________________________________
问题2.
        有没有一些关于storage的教程啊 我自己看着做还有好多不懂得
        我看着就感觉storage用起来很方便,但是我想问这种存储好像只能对一个实体存储啊
        比如 /execute as @e[type=tnt] store result storage tnt:fusem test int 1 run data get entity @s Fuse
        这样只能对一个tnt有效 再多来几个tnt 就没辙了
        对于一个storage想存储多个实体/方块的数据好像也没啥用(我不确定)  所以能举一个这样用storage的例子吗
__________________________________________________





__________________________________________________
问题3.
        有没有关于structure的教程 指令向的 数据包里一堆structures文件也不知道怎么用------ __________________________________________________





__________________________________________________
问题4.
        关于这个自定义世界/维度 我在看mcwiki的时候彻底乱了
        数据包data-命名空间下有 dimension 和 worldgen这两个东西
        ① https://minecraft-zh.gamepedia.c ... 9%E7%BB%B4%E5%BA%A6
                标题:自定义维度
                摘要:自定义维度(Custom Dimension)是位于数据包中用于定义世界的新维度的JSON文件。这些维度可以通过运行/execute in <维度> run teleport <坐标>到达。所有维度在世界被打开时即全部加载,而不是在世界重新加载时;这也意味着所有对这些维度文件的修改必须要重新打开世界来生效,而不仅仅是运行/reload命令。
        
        ② https://minecraft-zh.gamepedia.c ... C%E7%94%9F%E6%88%90
                标题:自定义世界生成
                摘要:自定义世界生成(Custom world generation)允许数据包改变世界的生成方式,与自定义世界搭配使用时尤其有用。
               
        ③ https://minecraft-zh.gamepedia.com/%E8%87%AA%E5%AE%9A%E4%B9%89
                标题:自定义
                摘要:自定义(Custom)是一种世界类型,允许玩家更改主世界、下界和末地的生成设置并添加新维度,可以通过修改在世界选项界面中导出的JSON文件来实现。
        
        其中“自定义世界生成”巨长,它的简介说“与自定义世界搭配使用时尤其有用。”
        可见文章 【自定义世界生成】与【自定义】有点关联
        但是我去对比了【自定义维度】与【自定义】 都提到了生成器类行
        反正我这三个我直接晕了,他们的关系是什么? 作用区别?
__________________________________________________




2021.12 数据,可能有更多内容版本[1.16.4]
__________________________________________________
问题1.
  在对CustomName 输入JSON文本时候 无法应用记分板数据
  比如目前计分板上有Fuse项目 并且我把所有&lt;点燃的tnt&gt;的Fuse值转到记分板上
  #因为customname我好像光光输入数字穿不进去 所以只能'xxx'
  /execute as @e[type=tnt] store result score @s Fuse run data get entity @s Fuse
  /execute as @e[type=tnt] run data modify entity @s {} merge value {CustomName:'[{&quot;text&quot;:&quot;爆炸剩余时间&quot;},{&quot;score&quot;:{&quot;objective&quot;:&quot;Fuse&quot;,&quot;name&quot;:&quot;@s&quot;}}]',CustomNameVisible:1b}
  对于tellraw中JSON文本对象引用数据正常
  /tellraw @s [{&quot;text&quot;:&quot;爆炸剩余时间&quot;},{&quot;score&quot;:{&quot;objective&quot;:&quot;Fuse&quot;,&quot;name&quot;:&quot;@e[type=tnt,limit=1,sort=nearest]&quot;}}]
__________________________________________________


__________________________________________________
问题2.
  有没有一些关于storage的教程啊 我自己看着做还有好多不懂得
  我看着就感觉storage用起来很方便,但是我想问这种存储好像只能对一个实体存储啊
  比如 /execute as @e[type=tnt] store result storage tnt:fusem test int 1 run data get entity @s Fuse
  这样只能对一个tnt有效 再多来几个tnt 就没辙了
  对于一个storage想存储多个实体/方块的数据好像也没啥用(我不确定)所以能举一个这样用storage的例子吗
__________________________________________________


__________________________________________________
问题3.
  有没有关于structure的教程 指令向的 数据包里一堆structures文件也不知道怎么用------ __________________________________________________


__________________________________________________
问题4.
  关于这个自定义世界/维度 我在看mcwiki的时候彻底乱了
  数据包data-命名空间下有 dimension 和 worldgen这两个东西
  ① https://minecraft-zh.gamepedia.c ... 9%E7%BB%B4%E5%BA%A6
    标题:自定义维度
    摘要:自定义维度(Custom Dimension)是位于数据包中用于定义世界的新维度的JSON文件。这些维度可以通过运行/execute in &lt;维度&gt; run teleport &lt;坐标&gt;到达。所有维度在世界被打开时即全部加载,而不是在世界重新加载时;这也意味着所有对这些维度文件的修改必须要重新打开世界来生效,而不仅仅是运行/reload命令。
 
  ② https://minecraft-zh.gamepedia.c ... C%E7%94%9F%E6%88%90
    标题:自定义世界生成
    摘要:自定义世界生成(Custom world generation)允许数据包改变世界的生成方式,与自定义世界搭配使用时尤其有用。
   
  ③ https://minecraft-zh.gamepedia.com/%E8%87%AA%E5%AE%9A%E4%B9%89
    标题:自定义
    摘要:自定义(Custom)是一种世界类型,允许玩家更改主世界、下界和末地的生成设置并添加新维度,可以通过修改在世界选项界面中导出的JSON文件来实现。
 
  其中“自定义世界生成”巨长,它的简介说“与自定义世界搭配使用时尤其有用。”
  可见文章 【自定义世界生成】与【自定义】有点关联
  但是我去对比了【自定义维度】与【自定义】 都提到了生成器类行
  反正我这三个我直接晕了,他们的关系是什么? 作用区别?
__________________________________________________



晴路卡
本帖最后由 晴路卡 于 2020-12-6 22:35 编辑

1.要在实体名称上显示分数需要先将json文本放到木牌上得到value的值再把木牌上的json文本data modify set from到实体名称上才行,当然这只是一种常用的方法
2.你把实体UUID存进列表中就行了
   比如这是一个存多个点燃TNT信息的storage:{all:[{UUID:[I;0,0,0,0],fuse:20s},{UUID:[I;0,0,0,1],fuse:30s}]}
   需要用到的时候遍历列表中的元素 每次把UUID每一项提到记分板上再匹配对应的实体就行了
   效率看上去不大行 所以确实没什么用
3.https://zhangshenxing.gitee.io/v ... _%E7%BB%93%E6%9E%84
4.举例子
   自定义维度长这样:
  1. {
  2.                 "type": {
  3.                   "has_raids": true,
  4.                   "logical_height": 256,
  5.                   "infiniburn": "minecraft:infiniburn_overworld",
  6.                   "ambient_light": 5.0,
  7.                   "piglin_safe": false,
  8.                   "bed_works": true,
  9.                   "respawn_anchor_works": false,
  10.                   "ultrawarm": false,
  11.                   "natural": true,
  12.                   "coordinate_scale": 1.0,
  13.                   "has_skylight": true,
  14.                   "has_ceiling": false
  15.                 },
  16.                 "generator": {
  17.                             "biome_source": {
  18.                                     "seed": 247737667,
  19.                                     "type": "minecraft:vanilla_layered",
  20.                                     "large_biomes":false
  21.                             },
  22.                             "seed": 247737667,
  23.                             "settings":{
  24.                               "bedrock_roof_position": -10,
  25.                               "bedrock_floor_position": 0,
  26.                               "sea_level": 6,
  27.                               "disable_mob_generation": false,
  28.                               "structures": {
  29.                                 "stronghold": {
  30.                                   "distance": 32,
  31.                                   "spread": 3,
  32.                                   "count": 128
  33.                                 },
  34.                                 "structures": {
  35.                                   "minecraft:igloo": {
  36.                                     "spacing": 32,
  37.                                     "separation": 8,
  38.                                     "salt": 14357618
  39.                                   },
  40.                                   "minecraft:endcity": {
  41.                                     "spacing": 20,
  42.                                     "separation": 11,
  43.                                     "salt": 10387313
  44.                                   },
  45.                                   "minecraft:mineshaft": {
  46.                                     "spacing": 1,
  47.                                     "separation": 0,
  48.                                     "salt": 0
  49.                                   },
  50.                                   "minecraft:bastion_remnant": {
  51.                                     "spacing": 27,
  52.                                     "separation": 4,
  53.                                     "salt": 30084232
  54.                                   },
  55.                                   "minecraft:desert_pyramid": {
  56.                                     "spacing": 32,
  57.                                     "separation": 8,
  58.                                     "salt": 14357617
  59.                                   },
  60.                                   "minecraft:buried_treasure": {
  61.                                     "spacing": 1,
  62.                                     "separation": 0,
  63.                                     "salt": 0
  64.                                   },
  65.                                   "minecraft:village": {
  66.                                     "spacing": 32,
  67.                                     "separation": 8,
  68.                                     "salt": 10387312
  69.                                   },
  70.                                   "minecraft:jungle_pyramid": {
  71.                                     "spacing": 32,
  72.                                     "separation": 8,
  73.                                     "salt": 14357619
  74.                                   },
  75.                                   "minecraft:ocean_ruin": {
  76.                                     "spacing": 20,
  77.                                     "separation": 8,
  78.                                     "salt": 14357621
  79.                                   },
  80.                                   "minecraft:shipwreck": {
  81.                                     "spacing": 24,
  82.                                     "separation": 4,
  83.                                     "salt": 165745295
  84.                                   },
  85.                                   "minecraft:stronghold": {
  86.                                     "spacing": 1,
  87.                                     "separation": 0,
  88.                                     "salt": 0
  89.                                   },
  90.                                   "minecraft:nether_fossil": {
  91.                                     "spacing": 2,
  92.                                     "separation": 1,
  93.                                     "salt": 14357921
  94.                                   },
  95.                                   "minecraft:fortress": {
  96.                                     "spacing": 27,
  97.                                     "separation": 4,
  98.                                     "salt": 30084232
  99.                                   },
  100.                                   "minecraft:pillager_outpost": {
  101.                                     "spacing": 32,
  102.                                     "separation": 8,
  103.                                     "salt": 165745296
  104.                                   },
  105.                                   "minecraft:swamp_hut": {
  106.                                     "spacing": 32,
  107.                                     "separation": 8,
  108.                                     "salt": 14357620
  109.                                   },
  110.                                   "minecraft:mansion": {
  111.                                     "spacing": 80,
  112.                                     "separation": 20,
  113.                                     "salt": 10387319
  114.                                   },
  115.                                   "minecraft:ruined_portal": {
  116.                                     "spacing": 25,
  117.                                     "separation": 10,
  118.                                     "salt": 34222645
  119.                                   },
  120.                                   "minecraft:monument": {
  121.                                     "spacing": 32,
  122.                                     "separation": 5,
  123.                                     "salt": 10387313
  124.                                   }
  125.                                 }
  126.                               },
  127.                               "noise": {
  128.                                 "density_factor": 0,
  129.                                 "density_offset": 0,
  130.                                 "simplex_surface_noise": false,
  131.                                 "bottom_slide": {
  132.                                   "target": 320,
  133.                                   "size": 0,
  134.                                   "offset": 0
  135.                                 },
  136.                                 "size_horizontal": 1,
  137.                                 "size_vertical": 3,
  138.                                 "height": 256,
  139.                                 "sampling": {
  140.                                   "xz_scale": 1.0,
  141.                                   "y_scale": 3.0,
  142.                                   "xz_factor": 80.0,
  143.                                   "y_factor": 60.0
  144.                                 },
  145.                                 "top_slide": {
  146.                                   "target": 120,
  147.                                   "size": 0,
  148.                                   "offset": 0
  149.                                 }
  150.                               },
  151.                               "default_block": {
  152.                                 "Name": "minecraft:stone"
  153.                               },
  154.                               "default_fluid": {
  155.                                 "Properties": {
  156.                                   "level": "0"
  157.                                 },
  158.                                 "Name": "minecraft:water"
  159.                               }
  160.                             },
  161.                             "type": "minecraft:noise"
  162.                     }
  163.             }
复制代码
自定义世界生成(这下面有噪声设置,生物群系,结构地物等等好多东西)其中噪声设置部分长这样:
  1. {
  2.   "bedrock_roof_position": -10,
  3.   "bedrock_floor_position": 0,
  4.   "sea_level": 6,
  5.   "disable_mob_generation": false,
  6.   "structures": {
  7.     "stronghold": {
  8.       "distance": 32,
  9.       "spread": 3,
  10.       "count": 128
  11.     },
  12.     "structures": {
  13.       "minecraft:igloo": {
  14.         "spacing": 32,
  15.         "separation": 8,
  16.         "salt": 14357618
  17.       },
  18.       "minecraft:endcity": {
  19.         "spacing": 20,
  20.         "separation": 11,
  21.         "salt": 10387313
  22.       },
  23.       "minecraft:mineshaft": {
  24.         "spacing": 1,
  25.         "separation": 0,
  26.         "salt": 0
  27.       },
  28.       "minecraft:bastion_remnant": {
  29.         "spacing": 27,
  30.         "separation": 4,
  31.         "salt": 30084232
  32.       },
  33.       "minecraft:desert_pyramid": {
  34.         "spacing": 32,
  35.         "separation": 8,
  36.         "salt": 14357617
  37.       },
  38.       "minecraft:buried_treasure": {
  39.         "spacing": 1,
  40.         "separation": 0,
  41.         "salt": 0
  42.       },
  43.       "minecraft:village": {
  44.         "spacing": 32,
  45.         "separation": 8,
  46.         "salt": 10387312
  47.       },
  48.       "minecraft:jungle_pyramid": {
  49.         "spacing": 32,
  50.         "separation": 8,
  51.         "salt": 14357619
  52.       },
  53.       "minecraft:ocean_ruin": {
  54.         "spacing": 20,
  55.         "separation": 8,
  56.         "salt": 14357621
  57.       },
  58.       "minecraft:shipwreck": {
  59.         "spacing": 24,
  60.         "separation": 4,
  61.         "salt": 165745295
  62.       },
  63.       "minecraft:stronghold": {
  64.         "spacing": 1,
  65.         "separation": 0,
  66.         "salt": 0
  67.       },
  68.       "minecraft:nether_fossil": {
  69.         "spacing": 2,
  70.         "separation": 1,
  71.         "salt": 14357921
  72.       },
  73.       "minecraft:fortress": {
  74.         "spacing": 27,
  75.         "separation": 4,
  76.         "salt": 30084232
  77.       },
  78.       "minecraft:pillager_outpost": {
  79.         "spacing": 32,
  80.         "separation": 8,
  81.         "salt": 165745296
  82.       },
  83.       "minecraft:swamp_hut": {
  84.         "spacing": 32,
  85.         "separation": 8,
  86.         "salt": 14357620
  87.       },
  88.       "minecraft:mansion": {
  89.         "spacing": 80,
  90.         "separation": 20,
  91.         "salt": 10387319
  92.       },
  93.       "minecraft:ruined_portal": {
  94.         "spacing": 25,
  95.         "separation": 10,
  96.         "salt": 34222645
  97.       },
  98.       "minecraft:monument": {
  99.         "spacing": 32,
  100.         "separation": 5,
  101.         "salt": 10387313
  102.       }
  103.     }
  104.   },
  105.   "noise": {
  106.     "density_factor": 0,
  107.     "density_offset": 0,
  108.     "simplex_surface_noise": false,
  109.     "bottom_slide": {
  110.       "target": 320,
  111.       "size": 0,
  112.       "offset": 0
  113.     },
  114.     "size_horizontal": 1,
  115.     "size_vertical": 3,
  116.     "height": 256,
  117.     "sampling": {
  118.       "xz_scale": 1.0,
  119.       "y_scale": 3.0,
  120.       "xz_factor": 80.0,
  121.       "y_factor": 60.0
  122.     },
  123.     "top_slide": {
  124.       "target": 120,
  125.       "size": 0,
  126.       "offset": 0
  127.     }
  128.   },
  129.   "default_block": {
  130.     "Name": "minecraft:stone"
  131.   },
  132.   "default_fluid": {
  133.     "Properties": {
  134.       "level": "0"
  135.     },
  136.     "Name": "minecraft:water"
  137.   }
  138. }
复制代码
一个在创建自定义世界类型的时候导入的json文件长这样:
  1. {
  2.     "seed": 247737667,
  3.     "generate_features": true,
  4.     "bonus_chest": true,
  5.     "dimensions": {
  6.             "minecraft:overworld": {
  7.                 "type": {
  8.                   "has_raids": true,
  9.                   "logical_height": 256,
  10.                   "infiniburn": "minecraft:infiniburn_overworld",
  11.                   "ambient_light": 5.0,
  12.                   "piglin_safe": false,
  13.                   "bed_works": true,
  14.                   "respawn_anchor_works": false,
  15.                   "ultrawarm": false,
  16.                   "natural": true,
  17.                   "coordinate_scale": 1.0,
  18.                   "has_skylight": true,
  19.                   "has_ceiling": false
  20.                 },
  21.                 "generator": {
  22.                             "biome_source": {
  23.                                     "seed": 247737667,
  24.                                     "type": "minecraft:vanilla_layered",
  25.                                     "large_biomes":false
  26.                             },
  27.                             "seed": 247737667,
  28.                             "settings":{
  29.                               "bedrock_roof_position": -10,
  30.                               "bedrock_floor_position": 0,
  31.                               "sea_level": 6,
  32.                               "disable_mob_generation": false,
  33.                               "structures": {
  34.                                 "stronghold": {
  35.                                   "distance": 32,
  36.                                   "spread": 3,
  37.                                   "count": 128
  38.                                 },
  39.                                 "structures": {
  40.                                   "minecraft:igloo": {
  41.                                     "spacing": 32,
  42.                                     "separation": 8,
  43.                                     "salt": 14357618
  44.                                   },
  45.                                   "minecraft:endcity": {
  46.                                     "spacing": 20,
  47.                                     "separation": 11,
  48.                                     "salt": 10387313
  49.                                   },
  50.                                   "minecraft:mineshaft": {
  51.                                     "spacing": 1,
  52.                                     "separation": 0,
  53.                                     "salt": 0
  54.                                   },
  55.                                   "minecraft:bastion_remnant": {
  56.                                     "spacing": 27,
  57.                                     "separation": 4,
  58.                                     "salt": 30084232
  59.                                   },
  60.                                   "minecraft:desert_pyramid": {
  61.                                     "spacing": 32,
  62.                                     "separation": 8,
  63.                                     "salt": 14357617
  64.                                   },
  65.                                   "minecraft:buried_treasure": {
  66.                                     "spacing": 1,
  67.                                     "separation": 0,
  68.                                     "salt": 0
  69.                                   },
  70.                                   "minecraft:village": {
  71.                                     "spacing": 32,
  72.                                     "separation": 8,
  73.                                     "salt": 10387312
  74.                                   },
  75.                                   "minecraft:jungle_pyramid": {
  76.                                     "spacing": 32,
  77.                                     "separation": 8,
  78.                                     "salt": 14357619
  79.                                   },
  80.                                   "minecraft:ocean_ruin": {
  81.                                     "spacing": 20,
  82.                                     "separation": 8,
  83.                                     "salt": 14357621
  84.                                   },
  85.                                   "minecraft:shipwreck": {
  86.                                     "spacing": 24,
  87.                                     "separation": 4,
  88.                                     "salt": 165745295
  89.                                   },
  90.                                   "minecraft:stronghold": {
  91.                                     "spacing": 1,
  92.                                     "separation": 0,
  93.                                     "salt": 0
  94.                                   },
  95.                                   "minecraft:nether_fossil": {
  96.                                     "spacing": 2,
  97.                                     "separation": 1,
  98.                                     "salt": 14357921
  99.                                   },
  100.                                   "minecraft:fortress": {
  101.                                     "spacing": 27,
  102.                                     "separation": 4,
  103.                                     "salt": 30084232
  104.                                   },
  105.                                   "minecraft:pillager_outpost": {
  106.                                     "spacing": 32,
  107.                                     "separation": 8,
  108.                                     "salt": 165745296
  109.                                   },
  110.                                   "minecraft:swamp_hut": {
  111.                                     "spacing": 32,
  112.                                     "separation": 8,
  113.                                     "salt": 14357620
  114.                                   },
  115.                                   "minecraft:mansion": {
  116.                                     "spacing": 80,
  117.                                     "separation": 20,
  118.                                     "salt": 10387319
  119.                                   },
  120.                                   "minecraft:ruined_portal": {
  121.                                     "spacing": 25,
  122.                                     "separation": 10,
  123.                                     "salt": 34222645
  124.                                   },
  125.                                   "minecraft:monument": {
  126.                                     "spacing": 32,
  127.                                     "separation": 5,
  128.                                     "salt": 10387313
  129.                                   }
  130.                                 }
  131.                               },
  132.                               "noise": {
  133.                                 "density_factor": 0,
  134.                                 "density_offset": 0,
  135.                                 "simplex_surface_noise": false,
  136.                                 "bottom_slide": {
  137.                                   "target": 320,
  138.                                   "size": 0,
  139.                                   "offset": 0
  140.                                 },
  141.                                 "size_horizontal": 1,
  142.                                 "size_vertical": 3,
  143.                                 "height": 256,
  144.                                 "sampling": {
  145.                                   "xz_scale": 1.0,
  146.                                   "y_scale": 3.0,
  147.                                   "xz_factor": 80.0,
  148.                                   "y_factor": 60.0
  149.                                 },
  150.                                 "top_slide": {
  151.                                   "target": 120,
  152.                                   "size": 0,
  153.                                   "offset": 0
  154.                                 }
  155.                               },
  156.                               "default_block": {
  157.                                 "Name": "minecraft:stone"
  158.                               },
  159.                               "default_fluid": {
  160.                                 "Properties": {
  161.                                   "level": "0"
  162.                                 },
  163.                                 "Name": "minecraft:water"
  164.                               }
  165.                             },
  166.                             "type": "minecraft:noise"
  167.                     }
  168.             },
  169.             "minecraft:the_nether": {
  170.                     "type": "minecraft:the_nether",
  171.                     "generator": {
  172.                             "biome_source": {
  173.                                     "seed": 247737667,
  174.                                     "preset": "minecraft:nether",
  175.                                     "type": "minecraft:multi_noise"
  176.                             },
  177.                             "seed": 247737667,
  178.                             "settings": "minecraft:nether",
  179.                             "type": "minecraft:noise"
  180.                     }
  181.             },
  182.             "minecraft:the_end": {
  183.                     "type": "minecraft:the_end",
  184.                     "generator": {
  185.                             "biome_source": {
  186.                                     "seed": 247737667,
  187.                                     "type": "minecraft:the_end"
  188.                             },
  189.                             "seed": 247737667,
  190.                             "settings": "minecraft:end",
  191.                             "type": "minecraft:noise"
  192.                     }
  193.             }
  194.     }
  195. }
复制代码
可以看到自定义世界生成可以是自定义维度的一部分,也可以放在数据包的data/<命名空间>/worldgen/下的对应路径中被使用
自定义维度同样可以创建自定义世界类型的时候导入的json文件中的一部分,也可以存储在数据包的data/<命名空间>/dimension/<维度名称>.json内被使用
之前看的时候中文WIKI自定义维度相关的页面还是有一些出入的
可以看英文WIKI或者原版模组教程
一些标注“需要测试”的条目诸如density_factor在英文WIKI也有更好的解释
https://zhangshenxing.gitee.io/vanillamodtutorial/#%E7%BB%B4%E5%BA%A6%E5%92%8C%E7%BB%B4%E5%BA%A6%E7%B1%BB%E5%9E%8B
https://minecraft.gamepedia.com/Custom_world_generation#Structure_features

xiaowei233v
战狼晴路卡 发表于 2020-12-6 22:23
1.要在实体名称上显示分数需要先将json文本放到木牌上得到value的值再把木牌上的json文本data modify set f ...

是只能靠木牌from嘛=-= 那如果有许多实体需要显示不就炸了?

晴路卡
xiaowei233v 发表于 2020-12-7 23:10
是只能靠木牌from嘛=-= 那如果有许多实体需要显示不就炸了?

你可以只用一个木牌 在1tick内对多个实体先后操作

(=°ω°)丿
1. 【水教程】[1.14+] 告示牌黑科技 / 用战利品表实现
https://www.mcbbs.net/thread-1101560-1-1.html
2. storage 就是一个用来存放数据的地方。

代码:

  1. data merge storage tnt:fusem {test:[]}
  2. execute as @e[type=tnt] run data modify storage tnt:fusem test append from entity @s Fuse

【教程】[1.15] 常见的数据操作方法:入门教程
https://www.mcbbs.net/thread-993805-1-1.html
3. 就是原来用结构方块存储的结构文件
4. Wiki 和教程凑活着看
https://zhangshenxing.gitee.io/v ... 6%E7%B1%BB%E5%9E%8B

AKiloNewbility
晴路卡 发表于 2020-12-7 23:14
你可以只用一个木牌 在1tick内对多个实体先后操作

大佬能给一下具体指令吗  还是没有做明白