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

Unsheared snow golems don't drop carved pumpkins upon being killed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 1.17, 1.17.1, 21w40a, 21w41a, 21w42a, 21w43a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w03a, 22w05a, 22w06a, 1.18.2 Pre-release 2, 1.18.2, 22w17a, 1.19, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 24w11a, 1.21, 1.21.3
    • Confirmed
    • Loot tables

      The Bug:

      Unsheared snow golems don't drop carved pumpkins upon being killed.

      Steps to Reproduce:

      1. Summon a snow golem.
      2. Kill it, and as you do this, look at the loot it drops.
      3. Take note as to whether or not unsheared snow golems drop carved pumpkins upon being killed.

      Observed Behavior:

      Unsheared snow golems don't drop carved pumpkins upon being killed.

      Expected Behavior:

      Unsheared snow golems would drop carved pumpkins upon being killed.

      Code Analysis:

      Code analysis by Avoma can be found below.

      data > minecraft > loot_tables > entities > snow_golem.json
      {
        "type": "minecraft:entity",
        "pools": [
          {
            "bonus_rolls": 0.0,
            "entries": [
              {
                "type": "minecraft:item",
                "functions": [
                  {
                    "add": false,
                    "count": {
                      "type": "minecraft:uniform",
                      "max": 15.0,
                      "min": 0.0
                    },
                    "function": "minecraft:set_count"
                  }
                ],
                "name": "minecraft:snowball"
              }
            ],
            "rolls": 1.0
          }
        ]
      }

      If we look at the above json file, we can see that snow golems are only designed to drop snowballs upon being killed. Carved pumpkins aren't mentioned anywhere within this file, therefore resulting in unsheared snow golems not dropping them upon death.

        1. MC-189840.png
          MC-189840.png
          861 kB
        2. MC-189840.mp4
          4.35 MB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            10 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: