Items from /give are detected by commands for 1 tick
The item spawned by a /give command can be detected by commands for a single server tick after the command is run
Steps to reproduce:
- Create and empty world with no item entities
- Place and power a repeating command block with the command "execute as @e[type=item] run say hello"
- /give yourself any item
Observed result:
hello is printed once.
Expected result:
hello is not printed at all.
Created Issue:
Items from the give command are detected by commands for 1 tick
The item spawned by a /give command can be detected by commands for a single server tick after the command is run
Steps to reproduce:
- Create and empty world with no item entities
- Place and power a repeating command block with the command "execute as @e[type=item] run say hello"
- /give yourself any item
Items fromthe give commandare detected by commands for 1 tickItems from /give are detected by commands for 1 tick
The item spawned by a /give command can be detected by commands for a single server tick after the command is run
Steps to reproduce:
- Create and empty world with no item entities
- Place and power a repeating command block with the command "execute as @e[type=item] run say hello"
- /give yourself any item
The item spawned by a /give command can be detected by commands for a single server tick after the command is run
Steps to reproduce:
- Create and empty world with no item entities
- Place and power a repeating command block with the command "execute as @e[type=item] run say hello"
- /give yourself any item
The item spawned by a /give command can be detected by commands for a single server tick after the command is run
Steps to reproduce:
- Create and empty world with no item entities
- Place and power a repeating command block with the command "execute as @e[type=item] run say hello"
- /give yourself any item
Observed result:
hello is printed once.Expected result:
hello is not printed at all.
i think this is works as intended
Can confirm. This has always been the case though and is almost certainly intended.
I believe this issue relates to MC-120507 as both involve the given item being considered part of the game for one tick.