Mojira Archive
MC-202586

Unbreakable blocks do not have loot tables

These blocks cannot normally be broken in survival, which is a likely explanation for the absence of loot tables for these blocks. However, the /setblock command with "destroy" can be used to simulate a "legitimate" breaking of such blocks (as can be seen with the example shown of breaking a stone block to produce cobblestone). As no such loot tables exist for these blocks, mapmakers are limited as to what can be done with these blocks, as it may be desirable for a block to be completely unbreakable by players but yield an item when broken via command.

Confirmed to be affected:

  • minecraft:bedrock
  • minecraft:end_portal_frame
  • minecraft:end_portal
  • minecraft:end_gateway
  • minecraft:barrier

Untested, but likely also affected:

  • minecraft:command_block
  • minecraft:chain_command_block
  • minecraft:repeating_command_block
  • minecraft:structure_block
  • minecraft:jigsaw

Unresolved

Connor Steppie

2020-10-22, 03:38 PM

2024-09-12, 01:36 PM

9

4

Confirmed

Low

Platform

Loot tables

missing-loot-table

1.16.3 - 24w37a1.16.3, 1.16.4 Pre-release 1, 21w03a, 21w05b, 21w06a, 1.17.1, 1.18.1, 22w03a, 1.19, 1.19.2, 1.20.1, 1.20.4, 24w12a, 24w37a

-