mojira.dev

I have a scoreboard counter which count how many emeralds I throw away.

What I expected to happen was...:
When I throw the emeralds from the inventory sides away , the counter counts down

What actually happened was...:
When  I throw the emeralds from the inventroy sides away, the counter do nothing

Steps to Reproduce:
1. Copy this in two powerde repet-commandblocks
execute if score @p[scores={Smaragde_1=1..}] Smaragde_1 matches 1 run scoreboard players remove @p[scores={Smaragde_1=1..}] Smaragde 1
scoreboard players set @p[scores={Smaragde_1=1..}] Smaragde_1 0

2. Execute the commands scoreboard objectives add Smaragde minecraft.picked_up:minecraft.emerald
3. Execute the command: /scoreboard objectives add Smaragd_1 minecraft.dropped:minecraft.emerald

4. Open your Inventory and throw an emerald away, the score should be 0 but is 1. 

For questions please contact me in the comments.

Comments 1

Please do not use the bug tracker for command assistance

Lukas Schmeißer

(Unassigned)

Unconfirmed

commands, inventory, item-dropping

Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4

Retrieved