While Nautilus armor, like horse armor, does not normally have durability, for horse armor this effect can be achieved by giving them the right components (specifically, damage, max damage, and an equippable component with the boolean of “damage_on_hurt” set to true).
However, attempting to do this with Nautilus armor causes the armor to still refuse to take durability damage.
Steps to Reproduce (Method A):
1. Get a command block, and some way to activate it with a redstone signal (usually a button)
2. Input the following command into the command block. Note the presence of “damage_on_hurt:true”.
/give @p diamond_nautilus_armor[damage=0,equippable={slot:"body",equip_sound:"item.armor.equip_nautilus",asset_id:"minecraft:diamond",allowed_entities:"#minecraft:can_wear_nautilus_armor",equip_on_interact:true,damage_on_hurt:true,can_be_sheared:true,shearing_sound:"item.armor.unequip_nautilus"},max_damage=500] 1Give the resulting armor to a tamed Nautilus, and then punch it bare fisted repeatedly to attempt to give the armor durability damage.
Ride the nautilus to check the armor and/or check the armor with commands. Observe the lack of durability change
Put the armor off the nautilus into your mainhand and inspect it’s components with the following command
/data get entity @s SelectedItem
Steps to Reproduce (Method B):
Get a command block, like before. Also get a nautilus armor from the creative inventory into your mainhand
Input the following command into the command block. Again, note the presence of “damage_on_hurt:true”
/item modify entity @p weapon.mainhand {function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"body",equip_sound:"minecraft:item.armor.equip_nautilus",asset_id:"minecraft:diamond",allowed_entities:"#minecraft:can_wear_nautilus_armor",damage_on_hurt:1b,equip_on_interact:1b,can_be_sheared:1b,shearing_sound:"minecraft:item.armor.unequip_nautilus"}}}Repeat steps 3-5 from Method A
Expected Results:
The nautilus armor would start taking slight durability damage from the previous hits, regardless of item modification method
Observed Results:
The nautilus armor cannot take durability damage from hits, even though the same should apply similarly to horse armor.
This can even be double checked against horse armor. One can give oneself horse armor with the right durability-system components, and then punch a tamed horse wearing the modified armor and notice the horse armor’s durability decrease. Example command:
/give @p diamond_horse_armor[damage=0,equippable={slot:"body",equip_sound:"entity.horse.armor",asset_id:"diamond",allowed_entities:"#minecraft:can_wear_horse_armor",damage_on_hurt:true,can_be_sheared:true,shearing_sound:"item.horse_armor.unequip"},max_damage=500] 1Attachments
Comments 2
Further testing reveals that there may be multiple bugs at play. Because giving a nautilus a diamond horse armor (as listed in the command in the post) but with edited entity tags so that nautilus can wear it. And in this case the nautilus armor still cannot receive durability damage.
Even a diamond chestplate that has only been edited to allow nautilus to wear it, also cannot be damaged when worn by a Nautilus.
So it would appear that not only is the component not working in all cases, but the nautilus itself isn’t transferring it’s damage events to any data onto the item in the body slot.
Thank you for helping us improve Minecraft! We saved your files: