Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / DataComponentType

Variable: DataComponentType โ€‹

DataComponentType: (id) => DataComponentType & object & object

Defined in: core/values/resource.generated.ts:43

Type Declaration โ€‹

ADDITIONAL_TRADE_COST โ€‹

readonly ADDITIONAL_TRADE_COST: ResourceId<"minecraft:data_component_type"> = "minecraft:additional_trade_cost"

ATTACK_ANIMATION โ€‹

readonly ATTACK_ANIMATION: ResourceId<"minecraft:data_component_type"> = "minecraft:attack_animation"

ATTACK_RANGE โ€‹

readonly ATTACK_RANGE: ResourceId<"minecraft:data_component_type"> = "minecraft:attack_range"

ATTRIBUTE_MODIFIERS โ€‹

readonly ATTRIBUTE_MODIFIERS: ResourceId<"minecraft:data_component_type"> = "minecraft:attribute_modifiers"

AXOLOTL_VARIANT โ€‹

readonly AXOLOTL_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:axolotl/variant"

readonly BANNER_PATTERNS: ResourceId<"minecraft:data_component_type"> = "minecraft:banner_patterns"

BASE_COLOR โ€‹

readonly BASE_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:base_color"

BEES โ€‹

readonly BEES: ResourceId<"minecraft:data_component_type"> = "minecraft:bees"

BLOCK_ENTITY_DATA โ€‹

readonly BLOCK_ENTITY_DATA: ResourceId<"minecraft:data_component_type"> = "minecraft:block_entity_data"

BLOCK_STATE โ€‹

readonly BLOCK_STATE: ResourceId<"minecraft:data_component_type"> = "minecraft:block_state"

BLOCK_TRANSFORMER โ€‹

readonly BLOCK_TRANSFORMER: ResourceId<"minecraft:data_component_type"> = "minecraft:block_transformer"

BLOCKS_ATTACKS โ€‹

readonly BLOCKS_ATTACKS: ResourceId<"minecraft:data_component_type"> = "minecraft:blocks_attacks"

BREAK_SOUND โ€‹

readonly BREAK_SOUND: ResourceId<"minecraft:data_component_type"> = "minecraft:break_sound"

BREWING_FUEL โ€‹

readonly BREWING_FUEL: ResourceId<"minecraft:data_component_type"> = "minecraft:brewing_fuel"

BUCKET_ENTITY_DATA โ€‹

readonly BUCKET_ENTITY_DATA: ResourceId<"minecraft:data_component_type"> = "minecraft:bucket_entity_data"

BUNDLE_CONTENTS โ€‹

readonly BUNDLE_CONTENTS: ResourceId<"minecraft:data_component_type"> = "minecraft:bundle_contents"

CAN_BREAK โ€‹

readonly CAN_BREAK: ResourceId<"minecraft:data_component_type"> = "minecraft:can_break"

CAN_PLACE_ON โ€‹

readonly CAN_PLACE_ON: ResourceId<"minecraft:data_component_type"> = "minecraft:can_place_on"

CAT_COLLAR โ€‹

readonly CAT_COLLAR: ResourceId<"minecraft:data_component_type"> = "minecraft:cat/collar"

CAT_SOUND_VARIANT โ€‹

readonly CAT_SOUND_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:cat/sound_variant"

CAT_VARIANT โ€‹

readonly CAT_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:cat/variant"

CHARGED_PROJECTILES โ€‹

readonly CHARGED_PROJECTILES: ResourceId<"minecraft:data_component_type"> = "minecraft:charged_projectiles"

CHICKEN_SOUND_VARIANT โ€‹

readonly CHICKEN_SOUND_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:chicken/sound_variant"

CHICKEN_VARIANT โ€‹

readonly CHICKEN_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:chicken/variant"

COMPOSTABLE โ€‹

readonly COMPOSTABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:compostable"

CONSUMABLE โ€‹

readonly CONSUMABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:consumable"

CONTAINER โ€‹

readonly CONTAINER: ResourceId<"minecraft:data_component_type"> = "minecraft:container"

CONTAINER_LOOT โ€‹

readonly CONTAINER_LOOT: ResourceId<"minecraft:data_component_type"> = "minecraft:container_loot"

COOKING_FUEL โ€‹

readonly COOKING_FUEL: ResourceId<"minecraft:data_component_type"> = "minecraft:cooking_fuel"

COW_SOUND_VARIANT โ€‹

readonly COW_SOUND_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:cow/sound_variant"

COW_VARIANT โ€‹

readonly COW_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:cow/variant"

CREATIVE_SLOT_LOCK โ€‹

readonly CREATIVE_SLOT_LOCK: ResourceId<"minecraft:data_component_type"> = "minecraft:creative_slot_lock"

CUSHION_COLOR โ€‹

readonly CUSHION_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:cushion/color"

CUSTOM_DATA โ€‹

readonly CUSTOM_DATA: ResourceId<"minecraft:data_component_type"> = "minecraft:custom_data"

CUSTOM_MODEL_DATA โ€‹

readonly CUSTOM_MODEL_DATA: ResourceId<"minecraft:data_component_type"> = "minecraft:custom_model_data"

CUSTOM_NAME โ€‹

readonly CUSTOM_NAME: ResourceId<"minecraft:data_component_type"> = "minecraft:custom_name"

DAMAGE โ€‹

readonly DAMAGE: ResourceId<"minecraft:data_component_type"> = "minecraft:damage"

DAMAGE_RESISTANT โ€‹

readonly DAMAGE_RESISTANT: ResourceId<"minecraft:data_component_type"> = "minecraft:damage_resistant"

DAMAGE_TYPE โ€‹

readonly DAMAGE_TYPE: ResourceId<"minecraft:data_component_type"> = "minecraft:damage_type"

DEATH_PROTECTION โ€‹

readonly DEATH_PROTECTION: ResourceId<"minecraft:data_component_type"> = "minecraft:death_protection"

DEBUG_STICK_STATE โ€‹

readonly DEBUG_STICK_STATE: ResourceId<"minecraft:data_component_type"> = "minecraft:debug_stick_state"

DYE โ€‹

readonly DYE: ResourceId<"minecraft:data_component_type"> = "minecraft:dye"

DYED_COLOR โ€‹

readonly DYED_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:dyed_color"

ENCHANTABLE โ€‹

readonly ENCHANTABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:enchantable"

ENCHANTMENT_GLINT_OVERRIDE โ€‹

readonly ENCHANTMENT_GLINT_OVERRIDE: ResourceId<"minecraft:data_component_type"> = "minecraft:enchantment_glint_override"

ENCHANTMENTS โ€‹

readonly ENCHANTMENTS: ResourceId<"minecraft:data_component_type"> = "minecraft:enchantments"

ENTITY_DATA โ€‹

readonly ENTITY_DATA: ResourceId<"minecraft:data_component_type"> = "minecraft:entity_data"

EQUIPPABLE โ€‹

readonly EQUIPPABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:equippable"

FIREWORK_EXPLOSION โ€‹

readonly FIREWORK_EXPLOSION: ResourceId<"minecraft:data_component_type"> = "minecraft:firework_explosion"

FIREWORKS โ€‹

readonly FIREWORKS: ResourceId<"minecraft:data_component_type"> = "minecraft:fireworks"

FOOD โ€‹

readonly FOOD: ResourceId<"minecraft:data_component_type"> = "minecraft:food"

FOX_VARIANT โ€‹

readonly FOX_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:fox/variant"

FROG_VARIANT โ€‹

readonly FROG_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:frog/variant"

GLIDER โ€‹

readonly GLIDER: ResourceId<"minecraft:data_component_type"> = "minecraft:glider"

HIDE_ADDITIONAL_TOOLTIP โ€‹

readonly HIDE_ADDITIONAL_TOOLTIP: ResourceId<"minecraft:data_component_type"> = "minecraft:hide_additional_tooltip"

HIDE_TOOLTIP โ€‹

readonly HIDE_TOOLTIP: ResourceId<"minecraft:data_component_type"> = "minecraft:hide_tooltip"

HORSE_VARIANT โ€‹

readonly HORSE_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:horse/variant"

INSTRUMENT โ€‹

readonly INSTRUMENT: ResourceId<"minecraft:data_component_type"> = "minecraft:instrument"

INTANGIBLE_PROJECTILE โ€‹

readonly INTANGIBLE_PROJECTILE: ResourceId<"minecraft:data_component_type"> = "minecraft:intangible_projectile"

INTERACT_ANIMATION โ€‹

readonly INTERACT_ANIMATION: ResourceId<"minecraft:data_component_type"> = "minecraft:interact_animation"

ITEM_MODEL โ€‹

readonly ITEM_MODEL: ResourceId<"minecraft:data_component_type"> = "minecraft:item_model"

ITEM_NAME โ€‹

readonly ITEM_NAME: ResourceId<"minecraft:data_component_type"> = "minecraft:item_name"

JUKEBOX_PLAYABLE โ€‹

readonly JUKEBOX_PLAYABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:jukebox_playable"

KINETIC_WEAPON โ€‹

readonly KINETIC_WEAPON: ResourceId<"minecraft:data_component_type"> = "minecraft:kinetic_weapon"

LLAMA_VARIANT โ€‹

readonly LLAMA_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:llama/variant"

LOCK โ€‹

readonly LOCK: ResourceId<"minecraft:data_component_type"> = "minecraft:lock"

LODESTONE_TRACKER โ€‹

readonly LODESTONE_TRACKER: ResourceId<"minecraft:data_component_type"> = "minecraft:lodestone_tracker"

LORE โ€‹

readonly LORE: ResourceId<"minecraft:data_component_type"> = "minecraft:lore"

MAP_COLOR โ€‹

readonly MAP_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:map_color"

MAP_DECORATIONS โ€‹

readonly MAP_DECORATIONS: ResourceId<"minecraft:data_component_type"> = "minecraft:map_decorations"

MAP_ID โ€‹

readonly MAP_ID: ResourceId<"minecraft:data_component_type"> = "minecraft:map_id"

MAP_POST_PROCESSING โ€‹

readonly MAP_POST_PROCESSING: ResourceId<"minecraft:data_component_type"> = "minecraft:map_post_processing"

MAX_DAMAGE โ€‹

readonly MAX_DAMAGE: ResourceId<"minecraft:data_component_type"> = "minecraft:max_damage"

MAX_STACK_SIZE โ€‹

readonly MAX_STACK_SIZE: ResourceId<"minecraft:data_component_type"> = "minecraft:max_stack_size"

MINIMUM_ATTACK_CHARGE โ€‹

readonly MINIMUM_ATTACK_CHARGE: ResourceId<"minecraft:data_component_type"> = "minecraft:minimum_attack_charge"

MOB_VISIBILITY โ€‹

readonly MOB_VISIBILITY: ResourceId<"minecraft:data_component_type"> = "minecraft:mob_visibility"

MOOSHROOM_VARIANT โ€‹

readonly MOOSHROOM_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:mooshroom/variant"

NOTE_BLOCK_SOUND โ€‹

readonly NOTE_BLOCK_SOUND: ResourceId<"minecraft:data_component_type"> = "minecraft:note_block_sound"

OMINOUS_BOTTLE_AMPLIFIER โ€‹

readonly OMINOUS_BOTTLE_AMPLIFIER: ResourceId<"minecraft:data_component_type"> = "minecraft:ominous_bottle_amplifier"

PAINTING_VARIANT โ€‹

readonly PAINTING_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:painting/variant"

PARROT_VARIANT โ€‹

readonly PARROT_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:parrot/variant"

PIERCING_WEAPON โ€‹

readonly PIERCING_WEAPON: ResourceId<"minecraft:data_component_type"> = "minecraft:piercing_weapon"

PIG_SOUND_VARIANT โ€‹

readonly PIG_SOUND_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:pig/sound_variant"

PIG_VARIANT โ€‹

readonly PIG_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:pig/variant"

POT_DECORATIONS โ€‹

readonly POT_DECORATIONS: ResourceId<"minecraft:data_component_type"> = "minecraft:pot_decorations"

POTION_CONTENTS โ€‹

readonly POTION_CONTENTS: ResourceId<"minecraft:data_component_type"> = "minecraft:potion_contents"

POTION_DURATION_SCALE โ€‹

readonly POTION_DURATION_SCALE: ResourceId<"minecraft:data_component_type"> = "minecraft:potion_duration_scale"

PROFILE โ€‹

readonly PROFILE: ResourceId<"minecraft:data_component_type"> = "minecraft:profile"

PROVIDES_BANNER_PATTERNS โ€‹

readonly PROVIDES_BANNER_PATTERNS: ResourceId<"minecraft:data_component_type"> = "minecraft:provides_banner_patterns"

PROVIDES_POTTERY_PATTERN โ€‹

readonly PROVIDES_POTTERY_PATTERN: ResourceId<"minecraft:data_component_type"> = "minecraft:provides_pottery_pattern"

PROVIDES_TRIM_MATERIAL โ€‹

readonly PROVIDES_TRIM_MATERIAL: ResourceId<"minecraft:data_component_type"> = "minecraft:provides_trim_material"

RABBIT_VARIANT โ€‹

readonly RABBIT_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:rabbit/variant"

RARITY โ€‹

readonly RARITY: ResourceId<"minecraft:data_component_type"> = "minecraft:rarity"

RECIPES โ€‹

readonly RECIPES: ResourceId<"minecraft:data_component_type"> = "minecraft:recipes"

REPAIR_COST โ€‹

readonly REPAIR_COST: ResourceId<"minecraft:data_component_type"> = "minecraft:repair_cost"

REPAIRABLE โ€‹

readonly REPAIRABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:repairable"

SALMON_SIZE โ€‹

readonly SALMON_SIZE: ResourceId<"minecraft:data_component_type"> = "minecraft:salmon/size"

SHEEP_COLOR โ€‹

readonly SHEEP_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:sheep/color"

SHULKER_COLOR โ€‹

readonly SHULKER_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:shulker/color"

SIGN_TEXT_BACK โ€‹

readonly SIGN_TEXT_BACK: ResourceId<"minecraft:data_component_type"> = "minecraft:sign_text_back"

SIGN_TEXT_FRONT โ€‹

readonly SIGN_TEXT_FRONT: ResourceId<"minecraft:data_component_type"> = "minecraft:sign_text_front"

STORED_ENCHANTMENTS โ€‹

readonly STORED_ENCHANTMENTS: ResourceId<"minecraft:data_component_type"> = "minecraft:stored_enchantments"

SULFUR_CUBE_CONTENT โ€‹

readonly SULFUR_CUBE_CONTENT: ResourceId<"minecraft:data_component_type"> = "minecraft:sulfur_cube_content"

SUSPICIOUS_STEW_EFFECTS โ€‹

readonly SUSPICIOUS_STEW_EFFECTS: ResourceId<"minecraft:data_component_type"> = "minecraft:suspicious_stew_effects"

SWING_ANIMATION โ€‹

readonly SWING_ANIMATION: ResourceId<"minecraft:data_component_type"> = "minecraft:swing_animation"

TOOL โ€‹

readonly TOOL: ResourceId<"minecraft:data_component_type"> = "minecraft:tool"

TOOLTIP_DISPLAY โ€‹

readonly TOOLTIP_DISPLAY: ResourceId<"minecraft:data_component_type"> = "minecraft:tooltip_display"

TOOLTIP_STYLE โ€‹

readonly TOOLTIP_STYLE: ResourceId<"minecraft:data_component_type"> = "minecraft:tooltip_style"

TRIM โ€‹

readonly TRIM: ResourceId<"minecraft:data_component_type"> = "minecraft:trim"

TROPICAL_FISH_BASE_COLOR โ€‹

readonly TROPICAL_FISH_BASE_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:tropical_fish/base_color"

TROPICAL_FISH_PATTERN โ€‹

readonly TROPICAL_FISH_PATTERN: ResourceId<"minecraft:data_component_type"> = "minecraft:tropical_fish/pattern"

TROPICAL_FISH_PATTERN_COLOR โ€‹

readonly TROPICAL_FISH_PATTERN_COLOR: ResourceId<"minecraft:data_component_type"> = "minecraft:tropical_fish/pattern_color"

UNBREAKABLE โ€‹

readonly UNBREAKABLE: ResourceId<"minecraft:data_component_type"> = "minecraft:unbreakable"

USE_COOLDOWN โ€‹

readonly USE_COOLDOWN: ResourceId<"minecraft:data_component_type"> = "minecraft:use_cooldown"

USE_EFFECTS โ€‹

readonly USE_EFFECTS: ResourceId<"minecraft:data_component_type"> = "minecraft:use_effects"

USE_REMAINDER โ€‹

readonly USE_REMAINDER: ResourceId<"minecraft:data_component_type"> = "minecraft:use_remainder"

VILLAGER_FOOD โ€‹

readonly VILLAGER_FOOD: ResourceId<"minecraft:data_component_type"> = "minecraft:villager_food"

VILLAGER_VARIANT โ€‹

readonly VILLAGER_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:villager/variant"

WAXED โ€‹

readonly WAXED: ResourceId<"minecraft:data_component_type"> = "minecraft:waxed"

WEAPON โ€‹

readonly WEAPON: ResourceId<"minecraft:data_component_type"> = "minecraft:weapon"

WOLF_COLLAR โ€‹

readonly WOLF_COLLAR: ResourceId<"minecraft:data_component_type"> = "minecraft:wolf/collar"

WOLF_SOUND_VARIANT โ€‹

readonly WOLF_SOUND_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:wolf/sound_variant"

WOLF_VARIANT โ€‹

readonly WOLF_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:wolf/variant"

WRITABLE_BOOK_CONTENT โ€‹

readonly WRITABLE_BOOK_CONTENT: ResourceId<"minecraft:data_component_type"> = "minecraft:writable_book_content"

WRITTEN_BOOK_CONTENT โ€‹

readonly WRITTEN_BOOK_CONTENT: ResourceId<"minecraft:data_component_type"> = "minecraft:written_book_content"

ZOMBIE_NAUTILUS_VARIANT โ€‹

readonly ZOMBIE_NAUTILUS_VARIANT: ResourceId<"minecraft:data_component_type"> = "minecraft:zombie_nautilus/variant"

Type Declaration โ€‹

tag() โ€‹

tag(id): DataComponentType

Parameters โ€‹

id โ€‹

string

Returns โ€‹

DataComponentType

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.