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

Components responsible for ticks in a custom block are not working correctly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.81 Hotfix, 1.21.30.21 Preview, 1.21.3 Hotfix (PS4), 1.21.2 Hotfix
    • Unconfirmed
    • Multiple

      Components in the block such as: "minecraft:tick", "minecraft:queued_ticking", "minecraft:random_ticking" do not work correctly.
       
      In my add-on, I created a block on version 1.20.81 and the block has "permutations", because the block model changes during interaction and I wanted to add something that would only apply to one of the types of this block. The "minecraft:queued_ticking" component was best for this, but I also wanted to add something that would be applicable to all types of this block, so I added "minecraft:queued_ticking" to the general components and noticed that the "minecraft:queued_ticking" component, which was in one of the block types it works, but the same component in the general block components no longer works at all.
      Then I started testing and created what was supposed to be in one of the types of this block, I created what was previously in the events in the ".js" file and through the "minecraft:custom_components" component I made it work, but an error appeared in the game logs, that a "minecraft:tick" component was needed, so I added and set "interval_range: 1, 1" and noticed that "minecraft:queued_ticking", which was in the general components, started executing the event faster and it was set to "interval_range: 5, 100", so it should run slower.
       

            MinecraftKM EndiKM
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: