#(stevoeinrad) Feature request to get Cartography table events
28 messages · Page 1 of 1 (latest)
(stevoeinrad) Feature request to get Cartography table events
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
what's duplicating?
declaration: package: io.papermc.paper.event.player, class: CartographyItemEvent
(Can be added technically, but it's basically just an inventory click event)
there's ^ but also https://jd.papermc.io/paper/1.21.10/org/bukkit/event/inventory/InventoryInteractEvent.html
declaration: package: org.bukkit.event.inventory, class: InventoryInteractEvent
yeah that ^
currently using cause i couldn't be bother to get every click event in an inventory secured
Always missing one and my players are sneaky
thought it would be nice to have an dedicated event for that
That even't is basically just on player clicks in cartography as far as I can see
But unless I'm forgetting something I don't think there's any way to take items out without clicking the result slot in some form (shift clicking, clicking into the hotbar, picking it up, etc. all include clicking the result slot)
So why not just listen to any click on the result slot?
nah u can do way more with an cartography table
i dont only want to cancel certain things, i would like to adjust the map in certain ways
and the 1 other huge impact i think of would be that the event doesn't get triggert with each inventory click
I don't think that event is as different as you think it is ^, you can try on internal bukkit event event:io.papermc.paper.event.player.CartographyItemEvent and see when it fires
(I can't see any reason it wouldn't just be the same looking at the source? But you can give it a go with just a narrate or something and see if it fires differently)
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@spark sonnet
Thread closed as resolved.
i come back to this cause i got a reason why i would like to have this event instead of using a total event like
on player clicks in inventory
cause then the event would fire each and every time someone is clicking in an chest, barrel or shulker .... etc.
Thread was manually reopened by @spark sonnet.
^
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@spark sonnet