The block event response "decrement_stack" decreases the item stack when playing in Creative.
Partner Rank: 4
Partner Team Reporting: Starfish Studios
Verification builds: beta 1.16.200.53
Summary:
The block event response "decrement_stack" still decreases the player's item stack when playing in Creative game mode.
Impact:
This causes players to still have their items spent when in Creative interacting with a block that triggers the "decrement_stack" event, unlike the damage block event that does not damage the item when playing in Creative.
Repro Steps:
- Download and install the attached behavior pack.
- Join a world with the behavior pack enabled in Creative game mode.
- Give yourself a stone block /give @s demo:stone_block.
- Place this block on the ground.
- Give yourself a stick /give @s stick.
- Click on this block with the stick.
Observed Results:
The player's stick will be spent even though it is in Creative mode.
Expected Results:
The stick should not be spent if the player is playing in Creative game mode.
Screenshots/Videos attached: Yes.
Notes:
A boolean parameter called "use_in_creative" for "decrement_stack" would also be acceptable, preferably set to false by default. (This would be useful to make a trash bin work in Creative, lol)