ActionEvent

public class ActionEvent extends CustomEvent

Constructors

Link copied to clipboard
public void ActionEvent(CustomEventsConfigFields customEventsConfigFields)

Types

Link copied to clipboard
public class ActionEventEvents implements Listener

Inherited properties

Link copied to clipboard
Link copied to clipboard
public int currentDay
Link copied to clipboard
public List<String> endEventCommands
Link copied to clipboard
public String endMessage
Link copied to clipboard
public Location eventStartLocation
Link copied to clipboard
public float eventStartTime
Link copied to clipboard
Link copied to clipboard
public BukkitTask eventWatchdog
Link copied to clipboard
public List<String> primaryCustomBossFilenames
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public List<String> startEventCommands
Link copied to clipboard
public String startMessage

Functions

Link copied to clipboard
public boolean checkBlockBreakStartConditions(Material material)
Link copied to clipboard
public boolean checkFishStartConditions()
Link copied to clipboard
Link copied to clipboard
public void endModifiers()
Gets called by the end() method, completes any extension-specific behavior for the end of the event, such as implementing cooldowns or doing announcements.
Link copied to clipboard
public void eventWatchdog()
Checks whether the conditions for the event to end have been met
Link copied to clipboard
public static void initializeBlueprintEvents()
Initializes events directly from the configuration files, and keeps a copy to run checks over in order to instantiate events for the server to run
Link copied to clipboard
public void instantiateEvent(Location location, Player player)
Link copied to clipboard
public static void shutdown()
Link copied to clipboard
public void startModifiers()

Inherited functions

Link copied to clipboard
public void commonWatchdogBehavior()
Runs checks that are common to all event types
Link copied to clipboard
public void end()
Starts the end of the event, deletes all EliteMobEntities spawned by the event and queues further event completion requirements
Link copied to clipboard
public Location getEventStartLocation()
Link copied to clipboard
public List<String> getPrimaryCustomBossFilenames()
Link copied to clipboard
public static boolean isLocationValid(Location location)
Link copied to clipboard
public void setEventStartLocation(Location eventStartLocation)
Link copied to clipboard
public void setPrimaryCustomBossFilenames(List<String> primaryCustomBossFilenames)
Link copied to clipboard
public void start()
Starts a Custom Event watchdog, which will scan whether the event is still ongoing or if it has ended every second