Class NexoStringBlockDamageEvent

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

    
    public final class NexoStringBlockDamageEvent
    extends NexoBlockDamageEvent implements Cancellable
                        

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

    • Constructor Detail

      • NexoStringBlockDamageEvent

        NexoStringBlockDamageEvent(StringBlockMechanic mechanic, Block block, Player player)
        Parameters:
        mechanic - The StringBlockMechanic of this block
        block - The block that was damaged
        player - The player who damaged this block