BuildPasteCompleteEvent

public class BuildPasteCompleteEvent extends Event

Fired on the main thread once a structure has been completely pasted: its blocks, pedestal, container loot, [spawn], [elitemobs] and [mythicmobs] mobs, entities, and every BuildCustomMarkerEvent. Pasting is spread over several ticks, so this is the reliable point to work with the placed structure.

Constructors

Link copied to clipboard
public void BuildPasteCompleteEvent(FitAnything fitAnything, Location lowestCorner, Location highestCorner, List<Location> containerLocations)

Properties

Link copied to clipboard
public final List<Location> containerLocations
Link copied to clipboard
public final FitAnything fitAnything
Link copied to clipboard
public final static HandlerList handlers
Link copied to clipboard
public final Location highestCorner
Link copied to clipboard
public final Location lowestCorner

Functions

Link copied to clipboard
public BoundingBox getBoundingBox()
Link copied to clipboard
public List<Location> getContainerLocations()
Link copied to clipboard
The structure that was 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 Location getHighestCorner()
Link copied to clipboard
public Location getLowestCorner()

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()