Class ContainerInteraction

java.lang.Object
me.totalfreedom.logging.ContainerInteraction
All Implemented Interfaces:
Interaction<List<org.bukkit.inventory.ItemStack>>

public final class ContainerInteraction extends Object implements Interaction<List<org.bukkit.inventory.ItemStack>>
  • Constructor Details

    • ContainerInteraction

      public ContainerInteraction(org.bukkit.entity.Player player, org.bukkit.block.Container originalState, org.bukkit.block.Container newState)
  • Method Details

    • getWhoClicked

      @NotNull public @NotNull UUID getWhoClicked()
      Specified by:
      getWhoClicked in interface Interaction<List<org.bukkit.inventory.ItemStack>>
    • getOriginalState

      @NotNull public @NotNull List<org.bukkit.inventory.ItemStack> getOriginalState()
      Specified by:
      getOriginalState in interface Interaction<List<org.bukkit.inventory.ItemStack>>
    • getNewState

      @NotNull public @NotNull List<org.bukkit.inventory.ItemStack> getNewState()
      Specified by:
      getNewState in interface Interaction<List<org.bukkit.inventory.ItemStack>>
    • getWhen

      @NotNull public @NotNull Instant getWhen()
      Specified by:
      getWhen in interface Interaction<List<org.bukkit.inventory.ItemStack>>
    • getLocation

      @NotNull public @NotNull org.bukkit.Location getLocation()
      Specified by:
      getLocation in interface Interaction<List<org.bukkit.inventory.ItemStack>>