[SPIGOT-824] Add SpongeSoakWaterEvent Created: 20/Apr/15 Updated: 23/Jul/18 Resolved: 23/Jul/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Johnnywoof | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 4 |
Labels: | 1.8, Spigot, blocks, craftbukkit, event |
Issue Links: |
|
Description |
Currently, there is no block event called when a sponge soaks up water. Maybe a new block event can be added like SpongeSoakWaterEvent to fix this issue. |
Comments |
Comment by md_5 [ 19/Jul/18 ] |
Poke me tomorrow and we can work on this. |
Comment by Articdive [ 19/Jul/18 ] |
I have attempted this but reached a brick wall the server calls the main method for each face touching water. It could be possible to implement this and make 1-6 SpongeAbsorbedEvent calls happen at once, not aware of how to make this work. uploaded to Spigot viewable under: https://hub.spigotmc.org/stash/users/articdive/repos/bukkit/commits?until=refs%2Fheads%2Fsponge-absorb-event |
Comment by Julian v.d Berkmortel [ 25/Nov/16 ] |
I'll take a look at it. |
Comment by SnowGears [ 25/Nov/15 ] |
Some methods that would be good to include in the event: Block getBlock() Will also implement cancellable interface |
Comment by SpigotMC [ 20/Apr/15 ] |
Your build is not the latest and therefore may be the reason you are having this issue. Spigot is 3 version(s) behind. CraftBukkit is 1 version(s) behind. This message was automatically generated and is not guaranteed to be a solution to your issue. |