Class NexoChorusBlockDamageEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    
    public final class NexoChorusBlockDamageEvent
    extends NexoBlockDamageEvent implements Cancellable
                        

    Event fired right before a player damages a NoteBlock. If cancelled, the block will not be damaged.

    • Constructor Detail

      • NexoChorusBlockDamageEvent

        NexoChorusBlockDamageEvent(ChorusBlockMechanic mechanic, Block block, Player player)
        Parameters:
        mechanic - The CustomBlockMechanic of this block
        block - The block that was damaged
        player - The player who damaged this block