Sprache

General Custom Data

General Custom Data

Modrinth

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

510 Downloads aktualisiert 1mo ago
Modrinth
Fabric 26.1 – 26.1.2 Library

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.

Versionen

Kein Versionsverlauf verfügbar. Nutze den Download-Button für die neueste Version von der Quelle.

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.

Herunterladen General Custom Data

Dateien werden direkt von der Originalquelle bereitgestellt. Modgrid hostet oder verändert sie nicht.