跳到正文

CommandExtras

作者:fonnymunkey

Simple utility mod to add some extra commands

收藏

介绍

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

Adds extra utility commands that are useful for more complicated command handling.

Currently adds two commands, CommandDelay and CommandChain.
CommandDelay allows you to run a defined command after a specified tick delay instead of instantly.
CommandChain allows you to run multiple defined commands in order from a single command input including other nested chains or delays.

Usage:

CommandDelay:
“/commanddelay <ticks> <entity> <x> <y> <z> <command>”
Ticks being how many ticks to wait before executing the specified command.
Entity and coordinate arguments allow for defining what entity should be the sender of the command, following the same handling as the Vanilla “/execute” command.

CommandChain:
“/commandchain <entity> <x> <y> <z> <command1> &&0 <command2> &&0 … (&&1 &&2 etc for nested chains)”
Entity and coordinate arguments follow the same as above.
Commands to be chained are separated with the identifier “&&0”.
If you nest additional CommandChains, increase the value of the separator identifier for each further layer of nesting.

Combined Example:
“/commandchain @p ~ ~ ~ gamemode 1 @p &&0 commanddelay 100 @p ~ ~ ~ commandchain @p ~ ~ ~ gamemode 0 @p &&1 weather clear”

This example combines CommandChain with CommandDelay, it will first set the senders gamemode to creative, then wait 5 seconds, then set the senders gamemode to survival and set the weather to clear.

This mod is only needed server-side.

Created on commission from xkforce.

Need to get in contact with me, or want to support me? Click the badges below:

Need a server? Click the banner below and use code “fonny” for 25% off your first month with Bisect Hosting:

常见问题

CommandExtras 支持哪些 Minecraft 版本?

CommandExtras 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

CommandExtras 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

fonnymunkey 的其他作品

查看全部 →