Package | Description |
---|---|
net.tridentsdk.event |
The event framework, used to call events extremely quickly and efficiently
|
net.tridentsdk.event.block |
Block-based events, called when a block is affected in an event
|
net.tridentsdk.event.entity |
Entity-based events, called when an event relating to an entity occurs
|
net.tridentsdk.event.player |
Called when a player-based event occurs, such as an event that involves a player
|
net.tridentsdk.event.weather |
Called when a world event, such as weather, occurs.
|
net.tridentsdk.server.event |
Implementation specific classes relating to
net.tridentsdk.event .* |
Modifier and Type | Method and Description |
---|---|
Class<? extends Event> |
EventNotifier.eventType()
Obtains the class of the event type that this notifier will be calling listeners for
|
Modifier and Type | Method and Description |
---|---|
void |
Events.fire(Event event)
Notifies listeners of the event type of the event to be fired
|
void |
EventNotifier.handle(Event event)
Notifies the listener
|
Modifier and Type | Class and Description |
---|---|
class |
BedExplodeEvent
Called when a Bed explodes
|
class |
BlockBreakEvent
Called whenever a Block is broken
|
class |
BlockBurnEvent
Called when a block is destroyed due to fire
|
class |
BlockEvent
Represents any event that involves a block modification
|
class |
BlockFlowEvent
Called when a liquid flows from a block to another
|
class |
BlockGrowthEvent
Called when a crop grows or a block spreads
|
class |
BlockIgniteEvent
Called when something lights a block on fire
|
class |
BlockPistonEvent
Called whenever a piston extends or retracts
|
class |
BlockPlaceEvent
Called whenever a block is placed
|
class |
BlockRedstoneEvent
Called when a block's redstone state is updated, called on each individual section of wire when they change, etc.
|
class |
BlockSpreadEvent
Called when a block spreads, like grass or mycelium
|
class |
CropGrowthEvent
Called when a crop grows
|
class |
MultiBlockBreakEvent
Called when a block is broken due to an explosion, handled separately than other reasons to reduce lag caused by
BlockBreak event listeners during explosions
|
class |
NotePlayEvent
Called when a note is played, has a list of players that will hear this note
|
class |
PistonExtendEvent
This event occurs when a piston becomes extended
|
class |
PistonRetractEvent
Called when a piston retracts
|
class |
SignChangeEvent
Called when a player edits a sign, or when the sign is first created
|
Modifier and Type | Class and Description |
---|---|
class |
CreeperLightningStrikeEvent
Called when a creeper gets struck by lightning and turns into a charged creeper
|
class |
EntityBeginExplosionCountdownEvent
Called when an Entity thinks it's just about time to explode
|
class |
EntityBurnByBlockEvent
Called when an Entity is set on fire by a block
|
class |
EntityBurnByEntityEvent
Called when an entity gets set on fire by another entity
|
class |
EntityBurnEvent
Called when an entity catches fire
|
class |
EntityDamageEntityEvent
Called when an entity damages another entity
|
class |
EntityDamageEvent
This event occurs when an entity is damaged, should only apply to living entities specifically
|
class |
EntityDeathEvent
Called when an entity dies, especially if it was a LivingEntity
|
class |
EntityEvent
An event abstraction which relates to entities.
|
class |
EntityExplodeEvent
Called when an explosion is about to happen, caused by an entity (the only other explosion in the game is from a
bed,
of all things)
|
class |
EntityExtinguishEvent
Called when an Entity is not longer on fire
|
class |
EntityIgniteEvent
Called when an Entity catches fire
|
class |
EntityLaunchProjectileEvent
Called when an entity launches a projectile
|
class |
EntityMoveEvent
Called when an entity moves, cancels short movements
|
class |
EntitySaddleEvent
Called whenever a player saddles a pig
|
class |
EntityShootArrowEvent
Called when a skeleton shoots an arrow
|
class |
EntitySpawnEvent
Called when an entity spawns
|
class |
EntityTameEvent
Called when an entity is tamed, i.e.
|
class |
EntityTeleportEvent
Called when an entity teleports, e.g.
|
class |
PigTransformEvent
Called when a lightning bolt strikes and causes a pig to turn into a zombie pigman
|
class |
PlayerDropItemEvent
Called when a player drops an item
|
class |
PlayerToggleSprintEvent
Called when a player tries to start sprinting, even if hunger would otherwise prevent them from sprinting
|
Modifier and Type | Class and Description |
---|---|
class |
PlayerBucketEmptyEvent
Called when a player empties a bucket
|
class |
PlayerBucketFillEvent
Called when a player fills a bucket
|
class |
PlayerChangeWorldEvent
Called when a player changes worlds
|
class |
PlayerChatEvent
Called when a player chats
|
class |
PlayerClickItemEvent
Called when a player clicks an item inside a inventory
|
class |
PlayerCloseWindowEvent
Called when a player closes an inventory inventory
|
class |
PlayerConsumeEvent
Called when a player consumes food, or potions
|
class |
PlayerDamageEvent
Called when a player is damaged
|
class |
PlayerDeathEvent
Called when a player dies
|
class |
PlayerDigEvent
Occurs when a player damages a block and causes it to begin breaking
|
class |
PlayerDisconnectEvent
Called when a player disconnects from the server
|
class |
PlayerEvent
Called when an event relating to a player occurs
|
class |
PlayerFamishEvent
Called when a player's hunger bar decreases
|
class |
PlayerFishEvent
Called when a player's fishing state changes,e.g.
|
class |
PlayerGameModeChangeEvent
Called before a Player's game mode changes
|
class |
PlayerHungerEvent
Called when a Player's hunger level changes
|
class |
PlayerInteractEvent
Called when a player interacts with something
|
class |
PlayerJoinEvent
Called when a player joins the server
|
class |
PlayerLaunchProjectileEvent
Called when a player launches a projectile e.g.
|
class |
PlayerLeaveSleepEvent
Called when a player tries to leave a bed
|
class |
PlayerMoveEvent
Called when a player moves their position
|
class |
PlayerShearEntityEvent
Called when a player shears an entity
|
class |
PlayerShootBowEvent
Called when a player shoots a bow
|
class |
PlayerSleepEvent
Called when a player tries to get in a bed
|
class |
PlayerTabCompleteEvent
Called when a player uses the tab key to complete the command
|
class |
PlayerToggleFlyingEvent
Called when a player attempts to change their flying state i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
LightningStrikeEvent
Called when lightning strikes somewhere in the world
|
class |
RainEvent
Called when the world's weather changes to rain
|
class |
SunEvent
Called when the weather on the world changes to sun
|
class |
ThunderEvent
Represents the world weather toggling to thundering
|
class |
WeatherEvent
Called when an event relating to the world occurs
|
Modifier and Type | Method and Description |
---|---|
static <T extends Event> |
EventProcessor.fire(T event) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Event> |
ReflectNotifier.eventType() |
Modifier and Type | Method and Description |
---|---|
void |
EventHandler.fire(Event event) |
void |
ReflectNotifier.handle(Event event) |
Copyright © 2016. All rights reserved.