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

helix / DamageType

Variable: DamageType โ€‹

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

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

Type Declaration โ€‹

ARROW โ€‹

readonly ARROW: ResourceId<"minecraft:damage_type"> = "minecraft:arrow"

BAD_RESPAWN_POINT โ€‹

readonly BAD_RESPAWN_POINT: ResourceId<"minecraft:damage_type"> = "minecraft:bad_respawn_point"

CACTUS โ€‹

readonly CACTUS: ResourceId<"minecraft:damage_type"> = "minecraft:cactus"

CAMPFIRE โ€‹

readonly CAMPFIRE: ResourceId<"minecraft:damage_type"> = "minecraft:campfire"

CRAMMING โ€‹

readonly CRAMMING: ResourceId<"minecraft:damage_type"> = "minecraft:cramming"

DRAGON_BREATH โ€‹

readonly DRAGON_BREATH: ResourceId<"minecraft:damage_type"> = "minecraft:dragon_breath"

DROWN โ€‹

readonly DROWN: ResourceId<"minecraft:damage_type"> = "minecraft:drown"

DRY_OUT โ€‹

readonly DRY_OUT: ResourceId<"minecraft:damage_type"> = "minecraft:dry_out"

ENDER_PEARL โ€‹

readonly ENDER_PEARL: ResourceId<"minecraft:damage_type"> = "minecraft:ender_pearl"

EXPLOSION โ€‹

readonly EXPLOSION: ResourceId<"minecraft:damage_type"> = "minecraft:explosion"

FALL โ€‹

readonly FALL: ResourceId<"minecraft:damage_type"> = "minecraft:fall"

FALLING_ANVIL โ€‹

readonly FALLING_ANVIL: ResourceId<"minecraft:damage_type"> = "minecraft:falling_anvil"

FALLING_BLOCK โ€‹

readonly FALLING_BLOCK: ResourceId<"minecraft:damage_type"> = "minecraft:falling_block"

FALLING_STALACTITE โ€‹

readonly FALLING_STALACTITE: ResourceId<"minecraft:damage_type"> = "minecraft:falling_stalactite"

FIREBALL โ€‹

readonly FIREBALL: ResourceId<"minecraft:damage_type"> = "minecraft:fireball"

FIREWORKS โ€‹

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

FLY_INTO_WALL โ€‹

readonly FLY_INTO_WALL: ResourceId<"minecraft:damage_type"> = "minecraft:fly_into_wall"

FREEZE โ€‹

readonly FREEZE: ResourceId<"minecraft:damage_type"> = "minecraft:freeze"

GENERIC โ€‹

readonly GENERIC: ResourceId<"minecraft:damage_type"> = "minecraft:generic"

GENERIC_KILL โ€‹

readonly GENERIC_KILL: ResourceId<"minecraft:damage_type"> = "minecraft:generic_kill"

HOT_FLOOR โ€‹

readonly HOT_FLOOR: ResourceId<"minecraft:damage_type"> = "minecraft:hot_floor"

IN_FIRE โ€‹

readonly IN_FIRE: ResourceId<"minecraft:damage_type"> = "minecraft:in_fire"

IN_WALL โ€‹

readonly IN_WALL: ResourceId<"minecraft:damage_type"> = "minecraft:in_wall"

INDIRECT_MAGIC โ€‹

readonly INDIRECT_MAGIC: ResourceId<"minecraft:damage_type"> = "minecraft:indirect_magic"

LAVA โ€‹

readonly LAVA: ResourceId<"minecraft:damage_type"> = "minecraft:lava"

LIGHTNING_BOLT โ€‹

readonly LIGHTNING_BOLT: ResourceId<"minecraft:damage_type"> = "minecraft:lightning_bolt"

MACE_SMASH โ€‹

readonly MACE_SMASH: ResourceId<"minecraft:damage_type"> = "minecraft:mace_smash"

MAGIC โ€‹

readonly MAGIC: ResourceId<"minecraft:damage_type"> = "minecraft:magic"

MOB_ATTACK โ€‹

readonly MOB_ATTACK: ResourceId<"minecraft:damage_type"> = "minecraft:mob_attack"

MOB_ATTACK_NO_AGGRO โ€‹

readonly MOB_ATTACK_NO_AGGRO: ResourceId<"minecraft:damage_type"> = "minecraft:mob_attack_no_aggro"

MOB_PROJECTILE โ€‹

readonly MOB_PROJECTILE: ResourceId<"minecraft:damage_type"> = "minecraft:mob_projectile"

ON_FIRE โ€‹

readonly ON_FIRE: ResourceId<"minecraft:damage_type"> = "minecraft:on_fire"

OUT_OF_WORLD โ€‹

readonly OUT_OF_WORLD: ResourceId<"minecraft:damage_type"> = "minecraft:out_of_world"

OUTSIDE_BORDER โ€‹

readonly OUTSIDE_BORDER: ResourceId<"minecraft:damage_type"> = "minecraft:outside_border"

PLAYER_ATTACK โ€‹

readonly PLAYER_ATTACK: ResourceId<"minecraft:damage_type"> = "minecraft:player_attack"

PLAYER_EXPLOSION โ€‹

readonly PLAYER_EXPLOSION: ResourceId<"minecraft:damage_type"> = "minecraft:player_explosion"

SONIC_BOOM โ€‹

readonly SONIC_BOOM: ResourceId<"minecraft:damage_type"> = "minecraft:sonic_boom"

SPEAR โ€‹

readonly SPEAR: ResourceId<"minecraft:damage_type"> = "minecraft:spear"

SPIT โ€‹

readonly SPIT: ResourceId<"minecraft:damage_type"> = "minecraft:spit"

STALAGMITE โ€‹

readonly STALAGMITE: ResourceId<"minecraft:damage_type"> = "minecraft:stalagmite"

STARVE โ€‹

readonly STARVE: ResourceId<"minecraft:damage_type"> = "minecraft:starve"

STING โ€‹

readonly STING: ResourceId<"minecraft:damage_type"> = "minecraft:sting"

SULFUR_CUBE_HOT โ€‹

readonly SULFUR_CUBE_HOT: ResourceId<"minecraft:damage_type"> = "minecraft:sulfur_cube_hot"

SWEET_BERRY_BUSH โ€‹

readonly SWEET_BERRY_BUSH: ResourceId<"minecraft:damage_type"> = "minecraft:sweet_berry_bush"

THORNS โ€‹

readonly THORNS: ResourceId<"minecraft:damage_type"> = "minecraft:thorns"

THROWN โ€‹

readonly THROWN: ResourceId<"minecraft:damage_type"> = "minecraft:thrown"

TRIDENT โ€‹

readonly TRIDENT: ResourceId<"minecraft:damage_type"> = "minecraft:trident"

UNATTRIBUTED_FIREBALL โ€‹

readonly UNATTRIBUTED_FIREBALL: ResourceId<"minecraft:damage_type"> = "minecraft:unattributed_fireball"

WIND_CHARGE โ€‹

readonly WIND_CHARGE: ResourceId<"minecraft:damage_type"> = "minecraft:wind_charge"

WITHER โ€‹

readonly WITHER: ResourceId<"minecraft:damage_type"> = "minecraft:wither"

WITHER_SKULL โ€‹

readonly WITHER_SKULL: ResourceId<"minecraft:damage_type"> = "minecraft:wither_skull"

Type Declaration โ€‹

tag() โ€‹

tag(id): DamageType

Parameters โ€‹

id โ€‹

string

Returns โ€‹

DamageType

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