Interface StickCause

All Superinterfaces:
StockEvent.Cause
All Known Implementing Classes:
StickCauses.BlockItem, StickCauses.BlockPlace, StickCauses.Brewer, StickCauses.Container, StickCauses.Furnace, StickCauses.ItemBreak, StickCauses.ItemConsume, StickCauses.ProjectileLaunch, StickCauses.ShootBow

public interface StickCause extends StockEvent.Cause
An interface that represents Box Stick related StockEvent.Cause.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull BoxPlayer
    Returns the BoxPlayer that used the Box Stick.

    Methods inherited from interface net.okocraft.box.api.event.stockholder.stock.StockEvent.Cause

    name
  • Method Details

    • player

      @NotNull @NotNull BoxPlayer player()
      Returns the BoxPlayer that used the Box Stick.
      Returns:
      the BoxPlayer that used the Box Stick