[SPIGOT-7168] Player interacting with composters don't call EntityChangeBlockEvent Created: 09/Oct/22 Updated: 25/Dec/24 |
|
| Status: | Open |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Foorcee | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Version: | This server is running CraftBukkit version 3599-Spigot-4aa5ead-aaf484f (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) |
| Guidelines Read: | Yes |
| Description |
|
Relates to changes in Added that when villagers interact with a composter, the EntityChangeBlockEvent is called. However, this event is not called when a player interacts with a composter. Also, it would be helpful if the event provided access to the added item. |
| Comments |
| Comment by Foorcee [ 30/Oct/22 ] |
|
What is the intended way to find out in the PlayerInteractEvent if the interacted block has been changed? In the composter, the change of the block data depends on a random factor. And of course on other plugins as well. Is there any way for post interact handling in Minecraft server? Like for example a PostPlayerInteractEvent where you can also get the interact result from the Minecraft server? |
| Comment by md_5 [ 28/Oct/22 ] |
|
I am not aware of any case of players calling this event, they call PlayerInteractEvent instead |