Minecraft:Data component format/blocks attacks
From SAS Gaming Wiki
More actions
- Template:Nbt: When present, this item can be used like a shield to block attacks to the holding player.
- Template:Nbt: The amount of time (in seconds) that Template:Control must be held before successfully blocking attacks. Defaults to Template:Cd.
- Template:Nbt: The multiplier applied to the cooldown time for the item when attacked by a disabling attack (the multiplier for Template:Nbt on the [[Minecraft:Data component format#weapon|Template:Cd]] component). If set to Template:Cd, this item can never be disabled by attacks. Defaults to Template:Cd.
- Template:Nbt: A set of rules for how much and what kinds damage should be blocked in a given attack. Defaults to
[{base:0,factor:1,horizontal_blocking_angle:90}]which blocks all damage within a 90 degree angle.- Template:Nbt: A damage reduction field
- Template:NbtTemplate:Nbt: Template:Json ref to block. Defaults to all damage types.
- Template:Nbt: The constant amount of damage to be blocked. This is a required field.
- Template:Nbt: The fraction of the dealt damage to be blocked. This is a required field.
- Template:Nbt: strictly positive float — The maximum angle between the users facing direction and the direction of the incoming attack to be blocked. Defaults to Template:Cd.
- Template:Nbt: A damage reduction field
- Template:Nbt: Controls how much damage should be applied to the item from a given attack.
- Template:Nbt: The minimum amount of damage dealt by the attack before item damage is applied to the item. Defaults to Template:Cd.
- Template:Nbt: The constant amount of damage applied to the item, if threshold is passed. Defaults to Template:Cd.
- Template:Nbt: The fraction of the dealt damage that should be applied to the item, if threshold is passed. Defaults to Template:Cd.
- Template:NbtTemplate:Nbt: Template:Json ref to play when an attack is successfully blocked. Defaults to none.
- Template:NbtTemplate:Nbt: Template:Json ref to play when the item goes on its disabled cooldown due to an attack. Defaults to none.
- Template:Nbt: a damage type Minecraft:tag with Template:Cd of Minecraft:damage types that bypass the blocking. Defaults to none.
- Template:Nbt: When present, this item can be used like a shield to block attacks to the holding player.