Class InventoryUtilsImpl

java.lang.Object
de.studiocode.inventoryaccess.r9.util.InventoryUtilsImpl
All Implemented Interfaces:
de.studiocode.inventoryaccess.abstraction.util.InventoryUtils

public class InventoryUtilsImpl extends Object implements de.studiocode.inventoryaccess.abstraction.util.InventoryUtils
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.network.chat.Component
    createNMSComponent(net.md_5.bungee.api.chat.BaseComponent[] components)
     
    static int
    getActiveWindowId(net.minecraft.server.level.ServerPlayer player)
     
    void
    openCustomInventory(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.Inventory inventory)
     
    void
    openCustomInventory(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.Inventory inventory, @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
     
    void
    updateOpenInventoryTitle(@NotNull org.bukkit.entity.Player player, @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InventoryUtilsImpl

      public InventoryUtilsImpl()
  • Method Details

    • createNMSComponent

      public static net.minecraft.network.chat.Component createNMSComponent(net.md_5.bungee.api.chat.BaseComponent[] components)
    • getActiveWindowId

      public static int getActiveWindowId(net.minecraft.server.level.ServerPlayer player)
    • openCustomInventory

      public void openCustomInventory(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.inventory.Inventory inventory)
      Specified by:
      openCustomInventory in interface de.studiocode.inventoryaccess.abstraction.util.InventoryUtils
    • openCustomInventory

      public void openCustomInventory(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.inventory.Inventory inventory, @NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
      Specified by:
      openCustomInventory in interface de.studiocode.inventoryaccess.abstraction.util.InventoryUtils
    • updateOpenInventoryTitle

      public void updateOpenInventoryTitle(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
      Specified by:
      updateOpenInventoryTitle in interface de.studiocode.inventoryaccess.abstraction.util.InventoryUtils