General Custom Data

Quick rating

Community listing page, reviews here may not be monitored by the author.

General Custom Data

No reviews yet

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

Mod Loaders
Minecraft

About

Description

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.