Another offshoot of MC-202586, for cases where the blocks cannot even be targeted in the first place to be broken. Many of these can also be "destroyed" using normal survival mechanics, such as pistons and flowing water, in which case loot tables would also be used. The lack of loot tables for these blocks, as opposed to the presence of an empty loot table, bars the customization of these blocks' drops in custom maps and other cases.
Affected blocks:
minecraft:air
minecraft:cave_air
minecraft:void_air
minecraft:water (logically should be targetable in some cases, e.g. when holding a bucket/lily pad)
minecraft:lava (logically should be targetable in some cases, e.g. when holding a bucket)
minecraft:light (only directly targetable in creative, where breaking does not use loot tables)
Linked issues
Attachments
Comments
Affects 24w12a.
— minecraft:light (only directly targetable in creative, where breaking does not use loot tables)
False. Light blocks are targetable in all game modes when held in the main hand. However, they can only be broken in creative mode. Despite this, the loot table wouldn't be redundant, as "/setblock destroy" functionality exists.
Can confirm.