Klasse AvertoxInventory
java.lang.Object
org.avertox.Inventory.AvertoxInventory
- Alle implementierten Schnittstellen:
InventoryProvider,org.bukkit.command.CommandExecutor
- Bekannte direkte Unterklassen:
ConfirmationInventory,DailyRewards,Investments,Particles,Pets,Ranks,Rewards,Stats,TransactionInventory
public class AvertoxInventory
extends Object
implements InventoryProvider, org.bukkit.command.CommandExecutor
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAvertoxInventory(String id, int rows, String title, AvertoxEssentialsV2 avE, boolean paginationEnabled, boolean border, AvertoxInventory.InventoryOrder inventoryOrder, boolean openCommand, AvertoxInventory closeItem) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddInvItem(InvItem invItem) voidclose(org.bukkit.entity.Player player) voidinit(org.bukkit.entity.Player player, InventoryContents contents) booleanonCommand(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull org.bukkit.command.Command command, @NotNull String s, String @NotNull [] strings) voidopen(org.bukkit.entity.Player player) Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.avertox.Inventory.content.InventoryProvider
update
-
Felddetails
-
avE
-
-
Konstruktordetails
-
AvertoxInventory
public AvertoxInventory(String id, int rows, String title, AvertoxEssentialsV2 avE, boolean paginationEnabled, boolean border, AvertoxInventory.InventoryOrder inventoryOrder, boolean openCommand, AvertoxInventory closeItem) - Parameter:
id- Costume id for the inventoryrows- Amount of rows for the inventorytitle- Name of the inventorypaginationEnabled- True if you want the ability to switch pages (only useable if no border is set)border- True if you want to have a borderinventoryOrder- Gird order or no orderopenCommand- To register a Command with the name of the titlecloseItem- creates a barrrier witch brings the player back to the last inventorry
-
-
Methodendetails
-
onCommand
-
init
- Angegeben von:
initin SchnittstelleInventoryProvider
-
open
public void open(org.bukkit.entity.Player player) -
close
public void close(org.bukkit.entity.Player player) -
addInvItem
- Parameter:
invItem- The Item witch should be added to the Inventory
-
getInventory
-