Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-162157

The minecraft:timer component I use when making my addons seems to break some other components when the timer is active.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.22 Hotfix
    • None
    • Unconfirmed
    • Multiple

      When I use the minecraft:timer component in my own addons, it seems to break/disable other components like the minecraft:behavior.move_towards_restriction component. I think it does this to the minecraft:behavior.melee_attack, and minecraft:behavior.move_to_block components as well but I couldn't make sure of this. I know its the timer that is causing this because during testing I made the timer activate later on instead of activating right away and before it activated, my mob was actually attacking me until the timer activated which afterwards the mob began to randomly stroll and forget about attacking me. I believe there's possibly other components that the timer breaks that I don't know of.

      I kept wondering why my custom entities weren't attacking me like they were supposed to when I was testing them until I finally found out that removing or not having the timer running fixed this.

      I use multiple component groups that use the timer in just one entity. I also don't have all of them running at the same time though. I usually just have one or two runnning while the other timers are supposed to activate later on when the component group is called. idk if that info would help in anyway

            Xeith JokerXD24
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: