mojira.dev
MCPE-21658

"dotiledrops" gamerule is inconsistently named

The gamerule dotiledrops (which controls whether or not blocks drop items upon being broken) is inconsistently named, because almost everywhere else in commands and in the game's code, as well as just in the game in general, blocks are referred to as simply "block", and NOT "tile".

Some examples include:

  • /setblock, /testforblock, & /testforblocks

  • the block IDs hay_block, noteblock, coal_block, gold_block, iron_block, brick_block, lapis_block, melon_block, purpur_block, quartz_block, command_block, diamond_block, emerald_block, redstone_block, red_mushroom_block, chain_command_block, brown_mushroom_block, & repeating_command_block

  • the entity ID command_block_minecart

  • in entity JSON files, minecraft:behavior.eat_block; minecraft:behavior.harvest_farm_block; minecraft:behavior.ocelot_sit_on_block; the breaks_blocks parameter of minecraft:explode; the breatheBlocks & nonBreatheBlocks parameters of minecraft:breathable; the block_assist_chance, block_radius, block_max, block_chance, & block_types parameters of minecraft:transformation; and the blocks parameter of minecraft:behavior.raid_garden

The name "block" is also more intuitive than "tile", so it doesn't make sense that the gamerule is called dotiledrops instead of doblockdrops.

Linked issues

Comments 1

SuperGeniusZeb

(Unassigned)

Confirmed

Tablet - Android - Other (Specify in description)

Android 4.4.4

1.1.0.9

Retrieved