Class PlayerInventoryElement

java.lang.Object
com.github.darksoulq.relique.gui.PlayerInventoryElement
All Implemented Interfaces:
com.github.darksoulq.abyssallib.world.gui.GuiElement

public class PlayerInventoryElement extends Object implements com.github.darksoulq.abyssallib.world.gui.GuiElement
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.darksoulq.abyssallib.server.event.ActionResult
    onClick(com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext ctx)
     
    com.github.darksoulq.abyssallib.server.event.ActionResult
    onDrag(com.github.darksoulq.abyssallib.server.event.context.gui.GuiDragContext ctx)
     
    @Nullable org.bukkit.inventory.ItemStack
    render(com.github.darksoulq.abyssallib.world.gui.GuiView view, int slot)
     

    Methods inherited from class Object

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

    Methods inherited from interface com.github.darksoulq.abyssallib.world.gui.GuiElement

    onClick, onDrag
  • Constructor Details

    • PlayerInventoryElement

      public PlayerInventoryElement(RelicHandler handler)
  • Method Details

    • render

      @Nullable public @Nullable org.bukkit.inventory.ItemStack render(com.github.darksoulq.abyssallib.world.gui.GuiView view, int slot)
      Specified by:
      render in interface com.github.darksoulq.abyssallib.world.gui.GuiElement
    • onClick

      public com.github.darksoulq.abyssallib.server.event.ActionResult onClick(com.github.darksoulq.abyssallib.server.event.context.gui.GuiClickContext ctx)
      Specified by:
      onClick in interface com.github.darksoulq.abyssallib.world.gui.GuiElement
    • onDrag

      public com.github.darksoulq.abyssallib.server.event.ActionResult onDrag(com.github.darksoulq.abyssallib.server.event.context.gui.GuiDragContext ctx)
      Specified by:
      onDrag in interface com.github.darksoulq.abyssallib.world.gui.GuiElement