mojira.dev
MC-231415

Functions cant detect entities for a few ticks after joining World

I'm recreating Portal in vanilla Minecraft and now I have the Problem, when I'm summoning an Armor Stand with this Command:

 

execute unless entity @e[tag=cube1,type=armor_stand] run summon armor_stand -332.07 162.00 -19.58 {Invulnerable:1b,Invisible:1b,Tags:["prop","abletopickup","cube1","cube","ismakingsound","hashitbox"],DisabledSlots:4144959,Rotation:[373F,0F],ArmorItems:[{},{},{},\\\\\{id:"minecraft:iron_hoe",Count:1b,tag:{CustomModelData:1}}]}

  • Command is running, each tick in a function

 

It should only summon a new armor stand when the previous armor stand has died

But when I log out of the Game and rejoin the World the entity gets summoned 3 times, what should not happen

 

 

Environment

Java 16.0.1 64 Bit
CPU: 4x Intel Core i5-4670K CPu @ 3,40GHz
GPU: Radeon RX Vega
OS: Windows 10

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue as MC-145442, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Won't Fix, which means this is considered a bug but won't be fixed. The description of that ticket or the comments might explain the rationale. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

1.17.1

Retrieved