carpet-extra icon indicating copy to clipboard operation
carpet-extra copied to clipboard

DispenserBlockPlacement Ignores NBT Data on Command Blocks

Open Malachi-lewis opened this issue 3 years ago • 2 comments

Currently, when a dispenser uses command blocks with nbt data, it ignores the nbt data when it places them. This should be fixed.

Malachi-lewis avatar Jul 10 '22 22:07 Malachi-lewis

Actually this should be changed to ensure it can't happen. Dispensers were able to place command blocks since 1.8.0, but the feature was removed in 1.8.6 for security reasons (see MC-80671 (comment) for an official comment).

altrisi avatar Jul 11 '22 09:07 altrisi

Command Blocks could be blacklisted from DispenserBlockPlacement by default(also structure blocks and structure void since they also cant be used in survival) so that you can use them with a datapack for map making.

Malachi-lewis avatar Jul 12 '22 01:07 Malachi-lewis