mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-25 08:27:28 +00:00
Theres documentation at https://sylvessa.zip/fourkit/ now. And a bunch of other changes. Check the discord server for a more comprehensive list
23 lines
513 B
C#
23 lines
513 B
C#
namespace Minecraft.Server.FourKit.Event.Block;
|
|
|
|
using Minecraft.Server.FourKit.Block;
|
|
|
|
/// <summary>
|
|
/// Represents a Block-related event.
|
|
/// </summary>
|
|
public abstract class BlockEvent : Event
|
|
{
|
|
private readonly Block _block;
|
|
|
|
internal protected BlockEvent(Block block)
|
|
{
|
|
_block = block;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the block involved in this event.
|
|
/// </summary>
|
|
/// <returns>The Block which is involved in this event.</returns>
|
|
public Block getBlock() => _block;
|
|
}
|