▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/General Custom Data
General Custom Data

General Custom Data

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

463
0

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.

Совместимость

Minecraft: Java Edition

26.1.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Детали

Лицензия:GPL-3.0-or-later
Опубликован:9 месяцев назад
Обновлён:1 месяц назад
Главная