跳到正文

General Custom Data

作者:CookedSeafood

Interface injecting API providing data components like functionality for custom data tags.

收藏

介绍

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

General Custom Data

General Custom Data is a library providing data components like functionality for custom data tags.

Currently not fully featured.

Command

  • /custom effect list [<entity>] Print a list of custom effects on the entity.
  • /custom effect give <entity> <effect> [<duration|infinite>] [<amplifier>] Add custom effect to entity.
  • /custom effect clear [<entity>] [<effect>] Remove custom effect from entity.

Data Structure

Compound custom_data: Parent tag.
 |- String id: namespace:path.
 |- List modifiers
 |  \\- Compound A modifier.
 |    |- String attribute: namespace:path.
 |    |- Double base: Any.
 |    |- String id: Any.
 |    |- String operation: add_value, add_multiplied_base, add_multiplied_total.
 |    \\- String slot: mainhand, offhand, feet, legs, chest, head.
 |- String rarity: Any.
 \\- List status_effects
  \\- Compound A status effect.
    |- String id: namespace:path.
    \\- List episodes: Unordered episodes.
     \\- Compound An episode.
       |- Int amplifier: Any.
       \\- Int duration: Any. In ticks.

Compound data: Parent tag.
 |- Byte explosion_radius: Any.
 |- Short fuse: Any.
 |- String id: namespace:path.
 |- List modifiers
 |  \\- Compound A modifier.
 |    |- String attribute: namespace:path.
 |    |- Double base: Any.
 |    |- String id: Any.
 |    |- String operation: add_value, add_multiplied_base, add_multiplied_total.
 |    \\- String slot: mainhand, offhand, feet, legs, chest, head.
 |- String owner: UUID.
 \\- List status_effects
  \\- Compound A status effect.
    |- String id: namespace:path.
    \\- List episodes: Episodes on entities are descending ordered by whose amplifier, ticking simultaneously.
     \\- Compound An episode.
       |- Int amplifier: Any.
       \\- Int duration: Any. In ticks.

常见问题

General Custom Data 支持哪些 Minecraft 版本?

General Custom Data 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

General Custom Data 怎么安装?

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

评论

登录后评论和评分

CookedSeafood 的其他作品

查看全部 →