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

Custom Piglin dual weapon drop bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.19.4, 23w51b
    • None
    • Confirmed
    • Commands

      Custom Piglin summoned to hold weapon/item in each hand will hide the offhand item but will also drop the offhand item when killed or zombified even if ; hand drops are disabled ; gamerule doEntityDrops = false. If Ai is disabled when summoned, both hand items are visible until Ai is turned on.
      Can test with :

      /summon minecraft:piglin ~ ~ ~-1 {IsImmuneToZombification:1,HandItems:[{id:iron_sword,Count:1},{id:wooden_sword,Count:1}],HandDropChances:[0.00f,0.00f]}
      

      If offhand item is a gold sword, will switch to that item in main hand but will still drop that original offhand item.

      Piglin Brutes not showing this issue.

            Unassigned Unassigned
            downunderit Pete Frisky
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: