Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Data component format/blocks attacks: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 4: Line 4:
*** {{nbt|float|block_delay_seconds}}: The amount of time (in seconds) that {{control|use}} must be held before successfully blocking attacks. Defaults to {{cd|0}}.
*** {{nbt|float|block_delay_seconds}}: The amount of time (in seconds) that {{control|use}} must be held before successfully blocking attacks. Defaults to {{cd|0}}.
*** {{nbt|float|disable_cooldown_scale}}: The multiplier applied to the cooldown time for the item when attacked by a disabling attack (the multiplier for {{nbt|float|disable_blocking_for_seconds}} on the [[Minecraft:Data component format#weapon|{{cd|minecraft:weapon}}]] component). If set to {{cd|0}}, this item can never be disabled by attacks. Defaults to {{cd|1}}.
*** {{nbt|float|disable_cooldown_scale}}: The multiplier applied to the cooldown time for the item when attacked by a disabling attack (the multiplier for {{nbt|float|disable_blocking_for_seconds}} on the [[Minecraft:Data component format#weapon|{{cd|minecraft:weapon}}]] component). If set to {{cd|0}}, this item can never be disabled by attacks. Defaults to {{cd|1}}.
*** {{nbt|list|damage_reductions}}: A set of rules for how much and what kinds damage should be blocked in a given attack. Defaults to <code>[{base:0,factor:1,horizontal_blocking_angle:90}]</code> which blocks all damage within a 90 degree angle.
*** {{nbt|list|damage_reductions}}: A set of rules for how much and what kinds damage should be blocked in a given attack. Defaults to <code>[{base:0,factor:1,horizontal_blocking_angle:90}]</code> which blocks all damage within a 90-degree angle.
**** {{nbt|compound}}: A damage reduction field
**** {{nbt|compound}}: A damage reduction field
***** {{nbt|string}}{{nbt|list|type}}: {{json_ref|damage type|tag=1}} to block. Defaults to all damage types.
***** {{nbt|string}}{{nbt|list|type}}: {{json_ref|damage type|tag=1}} to block. Defaults to all damage types.

Latest revision as of 12:05, 10 November 2026

Minecraft:fr:Format de composant de données/blocks_attacks