mojira.dev
MCPE-163133

Removing entity tags by minecraft bug

Let's say I give myself a "player" and "moder" tag with "tag @p add ...". Tag added successfully, check with "tag @p list" command. Next, I create a function (a.mcfunction) using an addon. The function contains:

tag @a remove HasNetherSword
tag @a[hasitem={item=netherite_sword}] add HasNetherSword

"a.mcfunction" is activated by the command block once every 1 tick.

If I have a netherite sword in my inventory, I have the tags: "player", "moder" and "HasNetherSword", otherwise only "player" and "moder"

But if I have a netherite sword in my inventory for too long, then the "player" and "moder" tags will be removed from me, although there is no command for this.

This can happen at a random time within 8 hours, but usually happens sooner.

I found this bug in my world, and there are more functions for detecting items than I showed in the example. There are usually 4 - 7 players in this world, and the bug can happen to a random one of them who has a function-detected item.

Comments 4

Your report does not contain enough information to understand or reproduce the problem.
Please include a numbered list of steps along with the Observed and Expected results by Editing the Description above as shown here:

Steps to Reproduce:
1. (list every step exactly, so someone else can reproduce the issue, and try following your list to make sure you can still reproduce the issue yourself)
2.
3.
Observed Results:
(briefly describe what you see happen, including any message(s) shown)
Expected Results:
(briefly describe what should happen)

(add screenshots or video to help explain the issue)

This report has been temporarily closed as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Reports that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.

You may find this Report Creation Form helpful for any future reports you create.

Could you provide the addon or world save in which you experience this issue?

@[Mod] GoldenHelmet this world weigh 1.5 GB, I may to share it with google drive

Hi, as previously requested, please share your world or the add-on on google drive and add link to it in the comments or update the description. Also, does the issue occur for you in the latest version (1.19.41)? 

This ticket will automatically reopen when you reply. 

EllisDL

(Unassigned)

Unconfirmed

Multiple

Windows 10

1.19.31 Hotfix

Retrieved