Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.songoda.ultimatestacker.events;
- import org.bukkit.block.Block;
- import org.bukkit.entity.EntityType;
- import org.bukkit.entity.Player;
- import org.bukkit.event.player.PlayerEvent;
- public abstract class SpawnerEvent
- extends PlayerEvent
- {
- protected final Block block;
- protected final EntityType spawnerType;
- protected final int amount;
- public SpawnerEvent(Player who, Block block, EntityType spawnerType, int amount) {
- super(who);
- this.block = block;
- this.spawnerType = spawnerType;
- this.amount = amount;
- }
- public Block getBlock() { return this.block; }
- public EntityType getSpawnerType() { return this.spawnerType; }
- public int getAmount() { return this.amount; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement