Class InventoryUtilsImpl
java.lang.Object
de.studiocode.inventoryaccess.r8.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 -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.network.chat.ComponentcreateNMSComponent(net.md_5.bungee.api.chat.BaseComponent[] components) static intgetActiveWindowId(net.minecraft.server.level.ServerPlayer player) voidopenCustomInventory(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.Inventory inventory) voidopenCustomInventory(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.Inventory inventory, @NotNull net.md_5.bungee.api.chat.BaseComponent[] title) voidupdateOpenInventoryTitle(@NotNull org.bukkit.entity.Player player, @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
-
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:
openCustomInventoryin interfacede.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:
openCustomInventoryin interfacede.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:
updateOpenInventoryTitlein interfacede.studiocode.inventoryaccess.abstraction.util.InventoryUtils
-