跳到正文

Build Events

作者:Velizar

Adds build events to track block placements and breaks within an area

收藏

介绍

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

Build Events (Fabric)

This server-side mod allows you to create build events to track the amount of block placements and breaks within an area using scoreboard objectives.

Details

When a new build event is added, one or two objectives are created.

/buildevents add foo 3 1 4 1 5 9 both will create two objectives: foo_place and foo_break.

You can change how an objective’s name is displayed on the sidebar using /scoreboard objectives modify foo_place displayname <plaintext or json>.

If an objective named foo_place exists prior to creating the foo event, then it will be used instead of creating a new one.

Usage

/buildevents add ... to create events. Optionally, end with in <dimension> to track actions in the specified dimension or with in !!global for every dimension, instead of the one the executor is in.

/buildevents remove ... to remove events. Optionally, end with remove_objectives to also remove the objectives.

/buildevents set <eventName> predicate ... to attach a predicate, in order to conditionally track actions. Here is an example for tracking specific blocks.

/buildevents set <eventName> predicate to remove an event’s predicate.

/buildevents set <eventName> dimension ... to change an event’s dimension or make it global(every dimension).

/buildevents set <eventName> total ... to toggle displaying the total amount of actions on the sidebar for each of the two actions.

/buildevents pause ... to stop tracking actions until re-enabled with /buildevents unpause ....

/buildevents list to view all existing events. Optionally, end with active or paused to view those specifically.

Syntax

/buildevents add <eventName> <from> <to> (place|break|both) [in] (!!global|<dimension>)

/buildevents remove <eventName> [remove_objectives]

/buildevents set <eventName> predicate [<predicate>]

/buildevents set <eventName> dimension (!!global|<dimension>)

/buildevents set <eventName> total (true|false)

/buildevents (pause|unpause) <eventName>

/buildevents list [active|paused]

常见问题

Build Events 支持哪些 Minecraft 版本?

Build Events 支持 Minecraft Java 版 1.17.1–26.3,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Build Events 怎么安装?

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

评论

登录后评论和评分

Velizar 的其他作品

查看全部 →