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

On_use trigger time changes when Chargeable is added

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.20.22 Preview, 1.19.10
    • None
    • Unconfirmed
    • Multiple

      When the chargeable component is added to an item, the trigger time of the on_use component will change state depending on if the player holds the use button for the entire use_duration.

      Set-up:
      Add on_use that triggers an event, chargeable that triggers a second, and use_duration to an item.

      Expected result:
      on_use will trigger as soon as the item is used.
      chargeable will trigger after the use duration.

      Observed result:
      If the player uses the item for the full use duration the on_use will trigger at the end of the use_duration. 
      If the player clicks the use button, on_use will trigger immediately.
      chargeable does not trigger

            timjdcook SyKoSoFi
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: