Class PlayerDamageSkyBlockBlockEvent

java.lang.Object
net.swofty.event.custom.PlayerDamageSkyBlockBlockEvent
All Implemented Interfaces:
net.minestom.server.event.Event, net.minestom.server.event.trait.EntityEvent, net.minestom.server.event.trait.EntityInstanceEvent, net.minestom.server.event.trait.InstanceEvent, net.minestom.server.event.trait.PlayerEvent, net.minestom.server.event.trait.PlayerInstanceEvent

public class PlayerDamageSkyBlockBlockEvent extends Object implements net.minestom.server.event.trait.PlayerInstanceEvent
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerDamageSkyBlockBlockEvent(net.minestom.server.entity.Player player, net.minestom.server.coordinate.Point blockPosition, net.minestom.server.network.packet.client.play.ClientPlayerDiggingPacket.Status status)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.minestom.server.entity.Player
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minestom.server.event.trait.EntityInstanceEvent

    getInstance

    Methods inherited from interface net.minestom.server.event.trait.PlayerEvent

    getEntity
  • Constructor Details

    • PlayerDamageSkyBlockBlockEvent

      public PlayerDamageSkyBlockBlockEvent(net.minestom.server.entity.Player player, net.minestom.server.coordinate.Point blockPosition, net.minestom.server.network.packet.client.play.ClientPlayerDiggingPacket.Status status)
  • Method Details

    • getPlayer

      @NotNull public @NotNull net.minestom.server.entity.Player getPlayer()
      Specified by:
      getPlayer in interface net.minestom.server.event.trait.PlayerEvent