question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Right-click event not working with some items for other plugins (It used to work)

See original GitHub issue

Describe the bug

We are using spawn eggs, buckets, etc with special events on right-clicks (on air), and since 1.17 has come out, those right-clicks stopped working for bedrock players (unless they use the spawn eggs, buckets, etc on the floor).

We use ItemsAdder plugin for the items events.

To Reproduce

  1. Configure a spawn egg, bucket or similar with an event on right-click.
  2. Check if the event does work from a Bedrock Player.

(Example for ItemsAdder)

example:
    display_name: "&b&lexample"
    resource:
      material: BUCKET
      generate: false
      model_path: "item/example"
    events:
      interact:
        right:
          shoot_particle_first:
              name: FIREWORKS_SPARK
              distance: 30
          shoot_particle_second:
              name: CLOUD
              distance: 30

Expected behaviour

Right-click event working on air.

Screenshots / Videos

No response

Server Version and Plugins

git-Paper-68 (MC: 1.17)

ProtocolLib LoneLibs ItemsAdder Geyser-Spigot floodgate

Geyser Dump

https://dump.geysermc.org/Zos18lSy838CgXAWHViCEGMdeqYtuTZi

Geyser Version

1.4.0-SNAPSHOT (git-master-7ae27c7)

Minecraft: Bedrock Edition Version

1.17.2

Additional Context

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
StarkyOficialcommented, Nov 28, 2021

Yes, we still having this issue, if we use a spawn egg (I think it happens with buckets too) as an item to modify with ItemsAdder (for example), if we put a right-click event on it, it won’t work for bedrock players unless they aim the floor. It does work fine as it should on Java players. We are using the last build available of Geyser (bungee) and the last floodgate (bungee).

0reactions
Redned235commented, Apr 23, 2022

Seems this issue has been referred to on occasion - is someone able to provide updated replication steps for how to reproduce this bug (with or without ItemsAdder). There have been a numerous set of changes made to Geyser since this was last followed up on so any updated information would be great.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved - right click event not working | SpigotMC - SpigotMC
Hello! I'm trying to code a plugin where a player right clicks a piece of paper in mainhand and teleport the player that...
Read more >
Right Click with item event? - Bukkit Forums
Hello, I was wondering if anyone knows how to make it so that if you right click somewhere with a special item something...
Read more >
Why right click is not triggered with .click()? - Stack Overflow
Bind mousedown to handle left, middle and right clicks: $('#link').mousedown(function(e) { alert("ciao"); });. You can use e.which to ...
Read more >
Right Click acting abnormal · Issue #113175 · microsoft/vscode
Regarding what happens, when the right click menu disappears it seems like an option is being selected, almost like there is some sort...
Read more >
Troubleshoot errors, freezes | Reader | Windows
Adobe Technical Support can use this information to better assist ... Start Adobe Reader without any plug-ins running. a. Double click on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found