User Tools

Site Tools


actions:action_types:damage_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

actions:action_types:damage_item [2024/05/02 13:46] – created errorcraftactions:action_types:damage_item [2024/05/02 15:17] (current) – remove incorrect game mode mention errorcraft
Line 3: Line 3:
 Note that this is different from the [[mc>Item_modifier#function_set_damage|minecraft:set_damage]] item modifier, as this actually breaks the item stack once fully damaged and takes into account preserved items and the [[mc>Unbreaking]] enchantment. Note that this is different from the [[mc>Item_modifier#function_set_damage|minecraft:set_damage]] item modifier, as this actually breaks the item stack once fully damaged and takes into account preserved items and the [[mc>Unbreaking]] enchantment.
 It also calls the [[mc>Advancement/JSON_format#minecraft:item_durability_changed|minecraft:item_durability_changed]] advancement trigger. It also calls the [[mc>Advancement/JSON_format#minecraft:item_durability_changed|minecraft:item_durability_changed]] advancement trigger.
-This action is unsuccessful if the item stack is emptyis not damageable or if the action does not ignore the game mode and ''this'' player is in creative mode.+This action is unsuccessful if the item stack is empty or is not damageable.
  
  
actions/action_types/damage_item.1714657606.txt.gz · Last modified: 2024/05/02 13:46 by errorcraft