跳到正文

Ender Dragon Loot│末影龍戰利品

作者:Special_TT

Customizable ender dragon loot.│客製化末影龍戰利品。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

To Users│給使用者

f the data pack you are playing requires this data pack as a prerequisite, just add this data pack to the data pack folder.│I如果你所遊玩的資料包需要使用該數據包作為前置,那麼只需將此數據包也加進數據包資料夾即可。

If you are uninstalling a data pack that uses this data pack as a prerequisite, enter this command after removing the data pack archive: “/data remove storage minecraft:ender_dragon_loot loot_table_list` and then reload it with `/reload`.│如果你要卸載使用此資料包作為前置的資料包,請在移除該資料包檔案之後輸入此指令:`/data remove storage minecraft:ender_dragon_loot loot_table_list`,隨後使用`/reload“重新加載。

To Data Pack Creator│給資料包製作者

Generate loot│產生戰利品

  • Create a function│創建一個函數
  • Add the following one instructions to the function. Replace with the loot table you want the ender dragon to drop from.│在該函數中加入下方一條指令,請將替換為你要讓末影龍掉落的戰利品表。
data modify storage minecraft:ender_dragon_loot loot_table_list append value {id:"<loot table namespace ID>"}
  • Add this function to the function tag “#ender_dragon_loot:loot_table_list`│將這個函數加入函數標籤`#ender_dragon_loot:loot_table_list“

Please note: loot will spawn above the block with the largest y value at x=0,z=0.│請注意:戰利品會生成在x=0,z=0中y最大的方塊上方。

Execute Function│執行函數

  • Create a function that contains the instructions you want to be executed after the ender dragon dies.│創建一個函數,其中加入你希望在末影龍死亡之後執行的指令。
  • Add this function to the function tag “#ender_dragon_loot:rewards`│將這個函數加入函數標籤`#ender_dragon_loot:rewards“

Please note: The command execution position will be set to the square with a white frame in the picture below│請注意:指令執行位置會被設定在下方圖片中有白色框線的那個方塊

Block location diagram│方塊位置示意圖

Example data packs made using this data pack│使用此資料包製作的範例資料包

Click me to see.│點我查看。

常见问题

Ender Dragon Loot│末影龍戰利品 支持哪些 Minecraft 版本?

Ender Dragon Loot│末影龍戰利品 支持 Minecraft Java 版 1.21.5–1.21.11,共 6 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Ender Dragon Loot│末影龍戰利品 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Special_TT 的其他作品

查看全部 →