Expand description
Individual component type definitions.
ModulesΒ§
- armor_
trim π - Vanilla
minecraft:trimitem component. - attribute_
modifiers π - Item attribute modifier component.
- banner_
patterns π - Vanilla
minecraft:banner_patternsitem component. - bees π
- Vanilla
minecraft:beesitem component. - block_
state π - Vanilla
minecraft:block_stateitem component. - blocks_
attacks π - Vanilla
minecraft:blocks_attacksitem component. - books π
- Writable and written book item components.
- combat π
- Combat-related item components.
- consumable π
- Vanilla consumable and death-protection item components.
- container_
loot π - Vanilla
minecraft:container_lootitem component. - custom_
data π - Vanilla
CustomDataitem component value. - custom_
model_ πdata - Vanilla
minecraft:custom_model_dataitem component. - debug_
stick_ πstate - Vanilla
minecraft:debug_stick_stateitem component. - enchantable π
- Vanilla
minecraft:enchantableitem component. - enchantments π
- equippable π
- Equippable component for armor and equipment items.
- fireworks π
- Vanilla firework explosion and rocket components.
- food π
- Vanilla
minecraft:fooditem component. - instrument π
- Vanilla
minecraft:instrumentitem component. - item_
colors π - Vanilla item color and map ID components.
- item_
lore π - Vanilla
minecraft:loreitem component. - jukebox_
playable π - Vanilla
minecraft:jukebox_playableitem component. - kinetic_
weapon π - Vanilla
minecraft:kinetic_weaponitem component. - lodestone_
tracker π - Vanilla
minecraft:lodestone_trackeritem component. - map_
decorations π - Vanilla
minecraft:map_decorationsitem component. - map_
post_ πprocessing - Vanilla
minecraft:map_post_processingtransient item component. - ominous_
bottle_ πamplifier - Vanilla
minecraft:ominous_bottle_amplifieritem component. - painting_
variant π - Vanilla
minecraft:painting/variantitem component. - pot_
decorations π - Vanilla
minecraft:pot_decorationsitem component. - potion_
contents π - Vanilla
minecraft:potion_contentsitem component. - provides_
trim_ πmaterial - Vanilla
minecraft:provides_trim_materialitem component. - rarity π
- Vanilla
minecraft:rarityitem component. - recipes π
- Vanilla
minecraft:recipesitem component. - recursive_
items π - Item components whose codecs recursively contain item stack templates.
- registry_
holder_ πsets - Components backed by registry holder sets.
- rgb_
color π - Shared codec helpers for Vanilla RGB color components.
- suspicious_
stew π - Vanilla
minecraft:suspicious_stew_effectsitem component. - swing_
animation π - Vanilla
minecraft:swing_animationitem component. - tool π
- Tool component for mining speed and drop behavior.
- tooltip_
display π - Vanilla
minecraft:tooltip_displayitem component. - typed_
entity_ πdata - Typed entity and block-entity item component data.
- use_
cooldown π - Vanilla
minecraft:use_cooldownitem component. - use_
effects π - Vanilla
minecraft:use_effectsitem component.
StructsΒ§
- Armor
Trim - Material and pattern applied to a trimmed equipment item.
- Attack
Range - Banner
Pattern Layer - One pattern and color layer on a banner or shield.
- Banner
Pattern Layers - Ordered banner pattern layers.
- Beehive
Occupant - One entity stored inside a beehive block item.
- Bees
- Ordered occupants stored inside a beehive block item.
- Block
Entity Data - Block-entity type plus custom block-entity data without its redundant
idfield. - Block
Item State Properties - String-valued block properties applied when a block item is placed.
- Blocks
Attacks - Complete blocking behavior configured on an item.
- Bundle
Contents - The ordered item templates stored in a bundle.
- Charged
Projectiles - The non-empty projectile templates loaded into a crossbow.
- Consumable
- Use timing, presentation, and post-consumption effects.
- Custom
Data - Immutable component wrapper around a Vanilla-normalized NBT compound.
- Custom
Model Data - Values exposed to item models and tint sources through custom model data.
- Damage
Reduction - One directional damage-reduction rule.
- Damage
Resistant - Damage types that cannot hurt an item stack.
- Damage
Type Component - Death
Protection - Effects applied when an item prevents death.
- Debug
Stick Property - Selected property for one block in a debug stick.
- Debug
Stick State - Per-block property selections stored by a debug stick.
- Dyed
Item Color - RGB color applied to dyeable items.
- Enchantable
- Positive value used to perturb enchanting-table levels.
- Entity
Data - Entity type plus custom entity data without its redundant
idfield. - Equippable
- The equippable component data.
- Filterable
- Raw text paired with the optional server-filtered projection.
- Firework
Explosion - Visual data for one firework explosion.
- Fireworks
- Flight duration and ordered explosions carried by a firework rocket.
- Food
Properties - Nutrition restored by consuming an item.
- Global
Pos - A block position paired with a dimension resource key.
- Instrument
Component - Instrument selected for an instrument item such as a goat horn.
- Invalid
Enchantable Value - Item
Attribute Modifier Entry - A single item attribute modifier entry.
- Item
Attribute Modifiers - Vanilla
minecraft:attribute_modifiersitem component. - Item
Container Contents - Up to 256 dense optional container slots.
- Item
Damage Function - Durability damage applied after blocking an attack.
- Item
Enchantments - Enchantments stored on an item. Maps enchantment key to level.
- Item
Lore - Item lore plus the vanilla display-styled projection of each line.
- Item
Lore TooLong - Error returned when lore exceeds vanillaβs 256-line limit.
- Jukebox
Playable - A jukebox song attached to an item stack.
- Kinetic
Weapon - Data controlling a spear-like continuous kinetic attack.
- Kinetic
Weapon Condition - Time and speed thresholds for one kinetic-weapon action.
- Lodestone
Tracker - Optional lodestone target and whether Vanilla should keep validating it.
- MapDecoration
Entry - One named decoration placed on a map.
- MapDecorations
- Decorations keyed by their arbitrary map-local IDs.
- MapId
- Numeric identifier for a map saved-data entry.
- MapItem
Color - Color used to tint a filled map item.
- Ominous
Bottle Amplifier - Painting
Variant Component - Registry-owned painting variant stored on a painting item.
- Piercing
Weapon - PotDecorations
- The back, left, right, and front decorations of a decorated pot.
- Potion
Contents - A registered base potion plus optional custom display and effect data.
- Provides
Trim Material - Trim material supplied by an ingredient in the smithing table.
- Recipes
- Ordered recipe resource keys carried by knowledge books.
- Repairable
- Items accepted as repair materials for an item stack.
- Seeded
Container Loot - Loot-table resource key and optional deterministic seed for a container item.
- Sulfur
Cube Content - The non-empty absorbed block item carried by a sulfur cube.
- Suspicious
Stew Effect - One effect granted by a suspicious stew.
- Suspicious
Stew Effects - Ordered effects granted by a suspicious stew.
- Swing
Animation - Vanilla swing animation type and duration in ticks.
- Tool
- Mining speed and drop behavior for an item.
- Tool
Rule - A single rule within a tool component.
- Tooltip
Display - Global tooltip visibility and the ordered set of hidden component types.
- UseCooldown
- Vanilla
UseCooldown: seconds plus an optional shared cooldown group. - UseEffects
- Controls movement and vibration behavior while an item is being used.
- UseRemainder
- The item template produced after consuming an item.
- Weapon
- Writable
Book Content - Editable pages in a writable book.
- Written
Book Content - Signed book metadata and rendered pages.
EnumsΒ§
- Firework
Explosion Shape - Shape rendered by a firework explosion.
- Item
Attribute Modifier Display - Tooltip display behavior for an item attribute modifier.
- Item
UseAnimation - Arm animation displayed while using an item.
- MapPost
Processing - Operation applied to a filled map after crafting.
- Rarity
- Vanilla item rarity, including its serialized and network IDs.
- Swing
Animation Type - Visual animation used when an item is swung.
Type AliasesΒ§
- Equippable
Allowed Entities - Entity types allowed to equip an item.
- Provides
Banner Patterns - Banner patterns unlocked by an ingredient in the loom.
- Tool
Rule Blocks - The block holder set used by a tool rule.