24package com.dreamfirestudios.dreamcore.DreamFakeBlock;
27import org.bukkit.Bukkit;
28import org.bukkit.event.Event;
29import org.bukkit.event.HandlerList;
30import org.jetbrains.annotations.NotNull;
52 private static final HandlerList handlers =
new HandlerList();
55 private final String id;
63 this.fakeBlock = fakeBlock;
65 Bukkit.getPluginManager().callEvent(
this);
72 @Override
public @NotNull HandlerList
getHandlers() {
return handlers; }
Represents a single fake block at a given location for one or more observers.
Fired when a new DreamFakeBlock is created and registered.
static HandlerList getHandlerList()
The static handler list required by Bukkit.
FakeBlockCreatedEvent(DreamFakeBlock fakeBlock, String id)
Constructs and immediately dispatches the event.
HandlerList getHandlers()
The handler list instance.