Verwendungen von Klasse
net.risingworld.api.objects.Item

Packages, die Item verwenden
  • Verwendungen von Item in net.risingworld.api.events.player

    Methoden in net.risingworld.api.events.player, die Item zurückgeben
    Modifizierer und Typ
    Methode
    Beschreibung
    PlayerChangeEquippedItemEvent.getItem()
     
    PlayerConsumeItemEvent.getItem()
     
    PlayerCraftItemEvent.getItem()
    Gets the item the player wants to craft.
    PlayerDropItemEvent.getItem()
    Gets the item the player wants to drop.
    PlayerDropItemFromStorageEvent.getItem()
    Gets the item.
    PlayerProcessItemEvent.getItem()
    Gets the item the player wants to process.
    PlayerWeaponFireEvent.getWeapon()
    Gets the weapon item.
    PlayerWeaponReloadEvent.getWeapon()
    Gets the related item (the weapon that is reloaded).
  • Verwendungen von Item in net.risingworld.api.events.player.inventory

    Modifizierer und Typ
    Methode
    Beschreibung
    PlayerInventoryAddItemEvent.getItem()
    Gets the item.
    PlayerInventoryItemEditEvent.getItem()
    Gets the item.
    PlayerInventoryMoveItemEvent.getItem()
    Gets the item that is about to be moved.
    PlayerInventoryToStorageEvent.getItem()
    Gets the item the player tries to move from inventory to the storage.
    PlayerStorageMoveItemEvent.getItem()
    Gets the item that is about to be moved.
    PlayerStorageToInventoryEvent.getItem()
    Gets the item that is about to be moved from the storage to inventory.
    PlayerInventoryMoveItemEvent.getTargetItem()
    Gets the item in the target slot in the storage, i.e the item that will be exchanged with the first item.
    PlayerInventoryToStorageEvent.getTargetItem()
    Gets the target item in the storage (i.e the item in the target slot).
    PlayerStorageMoveItemEvent.getTargetItem()
    Gets the item in the target slot, i.e the item that will be exchanged with the first item.
    PlayerStorageToInventoryEvent.getTargetItem()
    Gets the item in the target slot in the inventory, i.e the item that will be exchanged with the first item.
  • Verwendungen von Item in net.risingworld.api.objects

    Unterklassen von Item in net.risingworld.api.objects
    Modifizierer und Typ
    Klasse
    Beschreibung
    static class 
    Represents a blueprint item in the inventory of a player or in a storage box.
    A blueprint item is a ready-to-use blueprint (this does not apply to empty blueprints!), i.e a blueprint item representing an actual blueprint.
    static class 
    Represents a clothing item in the inventory of a player or in a storage box.
    This is any type of clothes (or headgear or accessory).
    static class 
    Represents a construction item in the inventory of a player or in a storage box.
    This is, for example, a block.
    static class 
    Represents an object item in the inventory of a player or in a storage box.
    This is, for example, a furniture item.
    Methoden in net.risingworld.api.objects, die Item zurückgeben
    Modifizierer und Typ
    Methode
    Beschreibung
    Inventory.addItem(short itemID, int variant, int stack)
    Creates and adds a new item to the inventory.
    Inventory.addItem(String item, int variant, int stack)
    Adds an item by name.
    Storage.addItem(short itemID, int variant, int stack)
    Creates and adds a new item to the storage.
    Inventory.addItemToSlot(short itemID, int variant, int stack, int slot, Inventory.SlotType slotType)
    Creates and adds a new item to the inventory.
    Storage.addItemToSlot(short itemID, int variant, int stack, int slot)
    Creates and adds a new item to the storage.
    Inventory.getAllItems()
    Gets a new array containing all items in this inventory.
    Gets the currently equipped item (i.e the item the npc currently holds in his hands), or null if no item is equipped.
    Gets the currently equipped item (i.e the item the player currently holds in his hands), or null if no item is equipped.
    Inventory.getItem(int slot, Inventory.SlotType slotType)
    Gets the item from the specified slot and inventory type.
    Storage.getItem(int slot)
    Gets the item from the specified slot.
    Inventory.getItems(Inventory.SlotType slotType)
    Gets a new array containing all items that are currently in the particular inventory type.
    Storage.getItems()
    Gets an array containing all items that are currently in the storage.
    Gets the currently equipped secondary item (i.e the optional additional item the npc currently holds in his hands), or null if no secondary item is equipped.