Closed NopeProsOnly closed 1 year ago
BlockFormEvent doesn't trigger when cobblestone is created by a generator
I'm pretty sure it does.
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/BlockFormEvent.html
I've tested it on a 1.8.8 server and it doesn't :
public void onForm(BlockFormEvent e) {
Bukkit.broadcastMessage("form");
}
The exemples you've mentioned are only relevant for the latest Spigot version. Only the following are written in the 1.8 documentation :
If you want to disable cobblestone generators, you might be interested in this thread : https://www.spigotmc.org/threads/disabling-cobblestone-and-stone.83269/
Hmm. So, there is not event that gets triggered when cobblestone/stone is formed? Hopefully with skript? If not, could someone make a skript-reflect (That registers the event along with its syntax (event-world, event-location, event-block, past event-block)) that I could copy? Perhaps someone could help me understand.
And that link you sent - How would I use this? I'm not very familiar with Java
We'll discuss about that on Discord.
Skript Version
Bug Description
This does not stop cobblestone generators. Infact, I don't think the event even exists. How else do I stop generators?
Expected Behavior
It was supposed to cancel the event and stop the cobblestone from forming.
Steps to Reproduce
Make a generator, and boom.
Errors or Screenshots
https://www.xbox.com/en-US/play/media/2A6JBT5M9X
Other
No response
Agreement