Mojira Archive
MCM-1218

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:

  1. Download and install the attached behavior pack.
  2. Join a world with the behavior pack enabled in Creative game mode.
  3. Give yourself a stone block /give @s demo:stone_block.
  4. Place this block on the ground.
  5. Give yourself a stick /give @s stick.
  6. 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)

Fixed

Jean Lucas

2020-11-08, 03:32 AM

2021-01-14, 08:17 PM

2021-01-14, 08:17 PM

0

0

Future Release

-