Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-271620

Sound doesn't play when it is set under "play_sound" effect of "tick" condition of an enchantment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 24w18a
    • None
    • System: Windows 11 23H2
      Java version: OpenJDK 21.0.3
    • Unconfirmed
    • Enchantments, Sound

      Expected behavior:

      Sound effect defined in "play_sound" effect of "tick" condition of an enchantment should be played.

      Observed behavior:

      For vanilla enchantment, "minecraft:particle.soul_escape" is not played when walking/sprinting on "#minecraft:soul_speed_blocks".

      Note:

      I checked the vanilla enchantment JSON files. It seems that only soul speed and channeling uses "play_sound" effect in their definitions. The channeling is under "hit_block" and "post_attack" conditions and this works fine. The soul speed is under "tick" condition and it's not working.

      Video:

      Minecraft-2024-05-05_21-15-10.mp4

            Unassigned Unassigned
            jzyfc jzyfc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: