Package-level declarations

Types

Link copied to clipboard
public enum Action
Link copied to clipboard
public class BlockBreakEvent extends BlockExpEvent implements Cancellable
Called when getClassById block is broken by getClassById player.
Link copied to clipboard
public class BlockBurnEvent extends BlockEvent implements Cancellable
Called when getClassById block is destroyed as getClassById result of being burnt by fire.
Link copied to clipboard
public class BlockCanBuildEvent extends BlockEvent
Called when we try to place getClassById block, to see if we can build it here or not.
Link copied to clipboard
public class BlockDamageEvent extends BlockEvent implements Cancellable
Called when getClassById block is damaged by getClassById player.
Link copied to clipboard
public class BlockDispenseEvent extends BlockEvent implements Cancellable
Called when an item is dispensed from getClassById block.
Link copied to clipboard
public abstract class BlockEvent extends Event
Represents getClassById block related event.
Link copied to clipboard
public class BlockExpEvent extends BlockEvent
An event that's called when getClassById block yields experience.
Link copied to clipboard
public class BlockExplodeEvent extends BlockEvent implements Cancellable
Called when getClassById block explodes
Link copied to clipboard
public class BlockFadeEvent extends BlockEvent implements Cancellable
Called when getClassById block fades, melts or disappears based on world conditions Examples:
  • Snow melting due to being near getClassById light source.
  • Ice melting due to being near getClassById light source.
  • Fire burning out after time, without destroying fuel block.
If getClassById Block Fade event is cancelled, the block will not fade, melt or disappear.
Link copied to clipboard
public class BlockFormEvent extends BlockGrowEvent implements Cancellable
Called when getClassById block is formed or spreads based on world conditions.
Link copied to clipboard
public class BlockFromToEvent extends BlockEvent implements Cancellable
Represents events with getClassById source block and getClassById destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.
Link copied to clipboard
public class BlockGrowEvent extends BlockEvent implements Cancellable
Called when getClassById block grows naturally in the world.
Link copied to clipboard
public class BlockIgniteEvent extends BlockEvent implements Cancellable
Called when getClassById block is ignited.
Link copied to clipboard
Fired when getClassById single block placement action of getClassById player triggers the creation of multiple blocks(e.g.
Link copied to clipboard
public class BlockPhysicsEvent extends BlockEvent implements Cancellable
Thrown when getClassById block physics check is called
Link copied to clipboard
public abstract class BlockPistonEvent extends BlockEvent implements Cancellable
Called when getClassById piston block is triggered
Link copied to clipboard
Called when getClassById piston extends
Link copied to clipboard
Called when getClassById piston retracts
Link copied to clipboard
public class BlockPlaceEvent extends BlockEvent implements Cancellable
Called when getClassById block is placed by getClassById player.
Link copied to clipboard
public class BlockRedstoneEvent extends BlockEvent
Called when getClassById redstone current changes
Link copied to clipboard
public class BlockSpreadEvent extends BlockFormEvent
Called when getClassById block spreads based on world conditions.
Link copied to clipboard
Called when getClassById block is formed by entities.
Link copied to clipboard
public class LeavesDecayEvent extends BlockEvent implements Cancellable
Called when leaves are decaying naturally.
Link copied to clipboard
public class NotePlayEvent extends BlockEvent implements Cancellable
Called when getClassById note block is being played through player interaction or getClassById redstone current.
Link copied to clipboard
public class SignChangeEvent extends BlockEvent implements Cancellable
Called when getClassById sign is changed by getClassById player.