Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-96974

Armor breaking on monster does not create particles anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 16w06a
    • Unconfirmed

      The bug

      When the armor a mob wears breaks because the mob is taking damage, no breaking particles are displayed anymore.

      The reason

      See this comment

      How to fix this

      This could be fixed by having the method public void renderBrokenItemStack(ItemStack p_70669_1_) of the net.minecraft.entity.EntityLivingBase class use the method public void func_175739_a(EnumParticleTypes p_175739_1_, double p_175739_2_, double p_175739_4_, double p_175739_6_, int p_175739_8_, double p_175739_9_, double p_175739_11_, double p_175739_13_, double p_175739_15_, int ... p_175739_17_) when the method is called by the server.

      How to reproduce

      1. Set the difficulty to something other than "Peaceful" (/difficulty easy)
      2. Set the time to day (/time set day)
      3. Use the following command
        /summon Zombie ~ ~ ~ {ArmorItems:[{},{},{},{id:"diamond_helmet",Count:1b,Damage:363s}]}
        

        There are no particles when the helmet of the Zombie breaks

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: