Interface BlockEvent
- All Known Implementing Classes:
BedEnterEvent,BedLeaveEvent,BlockAnvilDamagedEvent,BlockBeaconActivatedEvent,BlockBeaconDeactivatedEvent,BlockBellRungEvent,BlockBrewingEndEvent,BlockBrewingFuelEvent,BlockBrewingStartEvent,BlockBurnedEvent,BlockCampfireStartEvent,BlockCauldronChangeEvent,BlockCookedEvent,BlockCrafterCraftedEvent,BlockDispensedEvent,BlockExperienceDropEvent,BlockExplodedEvent,BlockFadedEvent,BlockFluidChangeEvent,BlockFormedEvent,BlockFurnaceBurnedEvent,BlockGrownEvent,BlockIgnitedEvent,BlockInteractionEvent,BlockLeavesDecayedEvent,BlockNotePlayedEvent,BlockPhysicsEvent,BlockPistonExtendedEvent,BlockPistonRetractedEvent,BlockRedstoneEvent,BlockSculkBloomedEvent,BlockSpongeAbsorbedEvent,BlockTargetHitEvent,BlockTntPrimeEvent,BucketEmptyEvent,BucketEntityEvent,BucketFillEvent,ChangedSignEvent,DamageBlockEvent,DestroyBlockEvent,EntityCombustedByBlockEvent,EntityEnteredBlockEvent,EntityInteractedBlockEvent,LightningStrikeEvent,PlaceBlockEvent,PortalCreatedEvent,ProjectileHitBlockEvent,TurtleLaysEggEvent,WorldInteractEvent
public interface BlockEvent
BlockEvent
This interface is used in world blocks events to get location and material.-
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.block.BlockgetBlock()Returns block involved in block event.
-
Method Details
-
getBlock
@NotNull @NotNull org.bukkit.block.Block getBlock()Returns block involved in block event.- Returns:
- block from event.
-