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

Missing stat.mineBlock for various blocks (mob spawners, cauldrons, beds, etc.)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 17w49a
    • Minecraft 13w42b, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8, Minecraft 1.8.2-pre6, Minecraft 1.8.3, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w38a, Minecraft 15w38b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w44a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w13a, Minecraft 1.12, Minecraft 1.12.1, Minecraft 17w48a
    • Confirmed

      Attempting to add a stat.mineBlock objective using the following blocks produces an Invalid objective criteria type error:

      • minecraft:bed
      • minecraft:brewing_stand
      • minecraft:cake
      • minecraft:cauldron
      • minecraft:cocoa
      • minecraft:daylight_detector_inverted
      • minecraft:fire
      • minecraft:flower_pot
      • minecraft:grass_path
      • minecraft:melon_stem
      • minecraft:pumpkin_stem
      • minecraft:mob_spawner
      • minecraft:piston_head
      • minecraft:powered_comparator
      • minecraft:unpowered_comparator
      • minecraft:powered_repeater
      • minecraft:unpowered_repeater
      • minecraft:purpur_double_slab
      • minecraft:redstone_wire
      • minecraft:reeds
      • minecraft:skull
      • minecraft:standing_banner
      • minecraft:wall_banner
      • minecraft:standing_sign
      • minecraft:wall_sign
      • minecraft:trapdoor
      • minecraft:iron_trapdoor
      • minecraft:tripwire
      • minecraft:wheat
      • minecraft:beetroots
      • minecraft:carrots
      • minecraft:potatoes
      • minecraft:nether_wart
      • minecraft:wooden_door
      • minecraft:acacia_door
      • minecraft:birch_door
      • minecraft:dark_oak_door
      • minecraft:jungle_door
      • minecraft:spruce_door
      • minecraft:iron_door

      Missing blocks (not mineable)
      As minecraft:end_portal_frame or minecraft:command_block both work, these blocks could be added as well.

      • minecraft:barrier
      • minecraft:bedrock
      • minecraft:end_gateway
      • minecraft:end_portal
      • minecraft:flowing_lava
      • minecraft:flowing_water
      • minecraft:lava
      • minecraft:water
      • minecraft:piston_extension
      • minecraft:portal

      Counted within different statistics
      Their own stats are missing, but they are counted as other (similar) blocks.

      Affected block Counts as
      minecraft:double_stone_slab minecraft:stone_slab
      minecraft:double_stone_slab2 minecraft:stone_slab2
      minecraft:double_wooden_slab minecraft:wooden_slab
      minecraft:lit_furnace minecraft:furnace
      minecraft:lit_redstone_lamp minecraft:redstone_lamp
      minecraft:lit_redstone_ore minecraft:redstone_ore
      minecraft:unlit_redstone_torch minecraft:redstone_torch

      Code analysis by marcono1234 can be found in this comment.

        1. Bug 1.png
          177 kB
          Dallas Rihm
        2. Bug 2.png
          178 kB
          Dallas Rihm

            Unassigned Unassigned
            wulf_oman Dallas Rihm
            Votes:
            48 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: