can_break is not a valid replacement for this. Adding can_break to a flint and steel then allows you to either: a) light the TNT, as was previously the case with can_place_on b) break the TNT and turn it into an item, which can_place_on did not allow you to do. The TNT may not drop in the adventure map, if tile drops are disabled in game rules, and the player will most likely be unable to place the TNT again due to adventure mode.
Furthermore, can_break on TNT does not use up durability on the flint and steel (or other items) the same way that it would have done with can_break, which means that adventure maps which used a low durability flint and steel to remove the item after x number of doors were opened, now need to add a workaround for this, “pretending” to damage/break the item through a combination of item modify entity for damage, or clear @p flint_and_steel, and playsound minecraft:entity.item.break to simulate it breaking.
If nothing else, no longer being able to control whether players light or break the TNT block is a pretty notable regression, and potentially breaks existing adventure maps that relied on only can_place_on to control what the players did to the TNT block. It’s
can_breakis not a valid replacement for this. Addingcan_breakto a flint and steel then allows you to either:a) light the TNT, as was previously the case with
can_place_onb) break the TNT and turn it into an item, which
can_place_ondid not allow you to do. The TNT may not drop in the adventure map, if tile drops are disabled in game rules, and the player will most likely be unable to place the TNT again due to adventure mode.Furthermore,
can_breakon TNT does not use up durability on the flint and steel (or other items) the same way that it would have done withcan_break, which means that adventure maps which used a low durability flint and steel to remove the item afterxnumber of doors were opened, now need to add a workaround for this, “pretending” to damage/break the item through a combination ofitem modify entityfor damage, orclear @p flint_and_steel, andplaysound minecraft:entity.item.breakto simulate it breaking.If nothing else, no longer being able to control whether players light or break the TNT block is a pretty notable regression, and potentially breaks existing adventure maps that relied on only
can_place_onto control what the players did to the TNT block. It’s