do2_mob_mover
移动 TangoTeks Decked out 2 地牢中的生物。
使用方法
选项 1
将数据包保存到世界的 datapacks 文件夹中(服务器路径为:minecraft/server/world/datapacks)。这将为你提供预设的劫掠兽和监守者的名称与位置。
选项 2
查看以下电子表格:并下载到你的个人设备上。
- 在“Names Sheet”(名称表)中添加你的自定义名称。
- 在“Ravager/Warden Spawn location sheets”(劫掠兽/监守者生成位置表)中添加你偏好的生成地点。
- 在“Ravager Commands”(劫掠兽命令)表中,检查常量 B2、C2、D2 是否适合你的需求。
- 每个生物的 9 个位置以及劫掠兽的名称均从上一张表中提取。
- 对“Warden Commands”(监守者命令)表重复步骤 3 和 4。
- 在“Summon Commands”(召唤命令)表中,按 A 列(Location,位置)上的 1、2、3 等进行筛选。
- 将这些内容复制到
data/mob_mover/functions/power_1.mcfunction、power_2.mcfunction、power_3.mcfunction 等文件中。
- 复制“Kill Newest Entities Commands”(杀死最新实体命令)中的值——这将移除你在之前表格中命名的新生物。
游戏内操作
在 Minecraft 中,使用漏斗电梯、发射器和装有多个不可堆叠物品的潜影盒,并通过比较器读取数值。我选择了一个起始触发行,即来自门的输入信号,具体位置见图片“Dropper elevator location”。
随后你可以将命令放入命令方块中:
- 命令方块 1:
{'Type':'Impulse', 'Conditional':'Not Conditional', 'Redstone':'Needs Redstone'} 执行指令 execute if block <x> <y> <z> redstone_wire[power=<value>] run function kill_mobs 注意 此处的 value 对应活跃的红石信号强度。如果比较器输出的信号强度为 5,则它对应第 5 远的输出线。
- 命令方块 2:
{'Type':'Chain', 'Is it Conditional':'Not Conditional', 'Redstone':'Always Active'} 执行函数 power_<value>
- 对你发射器中的潜影盒数量重复此操作。
Dropper elevator location:
Command block output:
注意 对于命令方块,它们都必须指向链式连接中的下一个方块,而不是像图中所示那样摆放。
信号示例:
- 信号强度 1:
- 信号强度 4:
- 信号强度 7:
TODO
添加一个脚本以自动抓取数值并将其添加到文件中,用于移动位置、更改名称等操作。
do2_mob_mover
Moves mobs in TangoTeks Decked out 2 dungeon.
How To Use
Option 1
Save the datapack into your datapacks folder for your world (for a server: minecraft/server/world/datapacks), this will give you the predetermined names and positions for the ravages, and wardens.
Option 2
Review the following spreadsheet: and download to your personal machine.
- Add your names to the Names Sheet
- Add your preferred spawn locations to the Ravager/Warden Spawn location sheets.
- In the 'Ravager Commands' sheet, ensure the Constants B2, C2, D2 look good for your use
- The 9 locations for each mob is pulled from the previous sheet, as well as the name for the ravager.
- Do step 3 and 4 for the 'Warden Commands' Sheet.
- On the Summon Commands sheet, filter on Column A (Location) on 1, 2, 3, etc.
- Copy these into the data/mob_mover/functions/power_1.mcfunction, power_2.mcfunction, power_3.mcfunction, etc.
- Copy the values from 'Kill Newest Entities Commands' - this will remove each of the new mobs with whatever name you chose on previous sheets.
In game
In Minecraft, using a dropper elevator, dispenser, and shulkers with several unstackable items in them use a comparator to pull out the value. Using one of the start trigger lines, I chose the one off the door and input shard see image Dropper elevator location.
After you can put the commands into command blocks:
- Command block 1: {'Type':'Impulse', 'Conditional':'Not Conditional', 'Redstone':'Needs Redstone'} execute if block <x> <y> <z> redstone_wire[power=<value>] run function kill_mobs note this value is active redstone so if its signal strength 5 coming out of your comparator, it will be the 5th furthers line out.
- Command block 2: {'Type':'Chain', 'Is it Conditional':'Not Conditional', 'Redstone':'Always Active'} function power_<value>
- Do this for the number of shulkers in your dispenser.
Dropper elevator location:
Command block output:
Note for the command blocks, they all have to be pointing into the next block in the chain, not like how they are shown here.
Signal examples:
- Signal strength 1:
- Signal strength 4:
- Signal strength 7:
TODO
Add a script to scrape the values and add them to the file automatically for moving positions, changing names, etc.
评论 0
登录后参与评分
还没有评论,来抢沙发吧