package org.allaymc.api.eventbus.event.block;

import lombok.Getter;
import org.allaymc.api.block.dto.Block;
import org.allaymc.api.eventbus.event.Event;

/**
 * Represents an event related to a block. This is the base class for all block events.
 *
 * @author daoge_cmd
 */
@Getter
public abstract class BlockEvent extends Event {
    /**
     * The block involved in the event.
     */
    protected Block block;

    public BlockEvent(Block block) {
        this.block = block;
    }
}
