mojira.dev

Nanogamer7

Assigned

No issues.

Reported

MC-237754 Invisible items with give commands in some cases using functions Duplicate MC-173232 Loyality trident dissappears when going in the nether after throwing it Awaiting Response MC-147284 Consistently exterm low TPS Duplicate

Comments

Can reproduce in 1.21.1 with a datapack:

function called from tick.json:

execute as @a[nbt=!{Inventory:[{id:"minecraft:dirt"}]}] run function datapack:give

give.mcfunction:

give @s minecraft:dirt

When dropping the dirt, a new one correctly appears in the inventory, when placing it, the new one is invisible.

I could recreate a similar bug in 1.17.1 with a function on tick

execute as @a[team=blue,nbt=!{Inventory:[{id:"minecraft:tnt"}]}] if score Aqua tnt matches 1.. if score match match matches 2 run function tntbattle:tnt-blue
give @s minecraft:tnt 1
scoreboard players remove Aqua tnt 1

I don't think my issue is a dubplicate to MC-132135, since I have problems with TPS, not world loading. Furthermore my issue wasn't present in 1.13, and isn't unique to one world either. However after further research I found MC-138550, which is my issue does duplicate