-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.12 Pre-Release 5, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2
-
None
-
Community Consensus
- Command works in command_block, but no in /function:
execute @a[tag=IsBucheron,score_XpLog_min=2] ~ ~ ~ /scoreboard players tag @e[type=Item,r=6] add BucheXP {Item:{id:"minecraft:log"},Age:0s}
- Command works in command_block, and in /function:
execute @a[tag=IsBucheron,score_XpLog_min=2] ~ ~ ~ /scoreboard players tag @e[type=Item,r=6] add BucheXP {Item:{id:"minecraft:log"},Age:1s}
Edit:
In command_block, we can execute a command for an item with Age:0s
In a function, this same command doesn't work, but if we replace Age:0s by Age:1s, it works.
- duplicates
-
MC-117360 gameLoopFunction function runs after entities were updated while command blocks run before
- Resolved