BuildCustomMarkerEvent

public class BuildCustomMarkerEvent extends Event

Fired on the main thread for each [custom] sign after its structure's blocks have been pasted. BetterStructures removes the sign first, so the listener can place anything at that location. The text under [custom] is passed on unchanged for the listening plugin to interpret.

Constructors

Link copied to clipboard
public void BuildCustomMarkerEvent(FitAnything fitAnything, Location location, List<String> lines)

Properties

Link copied to clipboard
public final FitAnything fitAnything
Link copied to clipboard
public final static HandlerList handlers
Link copied to clipboard
public final List<String> lines
Link copied to clipboard
public final Location location

Functions

Link copied to clipboard
The structure being pasted, as in BuildPlaceEvent.
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
@NotNull()
public HandlerList getHandlers()
Link copied to clipboard
public String getId()
Lines two to four joined without separators, so a long ID can continue onto the next line.
Link copied to clipboard
public List<String> getLines()
Link copied to clipboard
public Location getLocation()

Inherited functions

Link copied to clipboard
public String getEventName()
Link copied to clipboard
public abstract HandlerList getHandlers()
Link copied to clipboard
public final boolean isAsynchronous()