
org.bukkit.event.block.BlockEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.event.block;
import org.bukkit.block.Block;
import org.bukkit.event.Event;
/**
* Represents a block related event.
*/
public abstract class BlockEvent extends Event {
protected Block block;
public BlockEvent(final Block theBlock) {
block = theBlock;
}
/**
* Gets the block involved in this event.
*
* @return The Block which block is involved in this event
*/
public final Block getBlock() {
return block;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy