RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.ItemPack Enum Reference

Public Member Functions

 ItemPack (int armour, boolean chisel, Item... items)

Static Public Member Functions

static Optional< ItemPackforItem (int id)

Public Attributes

final int armour
final boolean chisel
final Item items []

Detailed Description

Handles the opening of armour sets.

Author
Daniel

Definition at line 65 of file ItemPack.java.

Constructor & Destructor Documentation

◆ ItemPack()

com.osroyale.content.ItemPack.ItemPack ( int armour,
boolean chisel,
Item... items )
inline

Constructs a new ItemPack.

Definition at line 163 of file ItemPack.java.

Member Function Documentation

◆ forItem()

Optional< ItemPack > com.osroyale.content.ItemPack.forItem ( int id)
inlinestatic

Streams through the armour set to find the data based on the item identification.

Definition at line 170 of file ItemPack.java.

Member Data Documentation

◆ armour

final int com.osroyale.content.ItemPack.armour

The armour set identification.

Definition at line 154 of file ItemPack.java.

◆ chisel

final boolean com.osroyale.content.ItemPack.chisel

If item set must be opened by chisel.

Definition at line 157 of file ItemPack.java.

◆ items

final Item com.osroyale.content.ItemPack.items[]

The items inside the armour set.

Definition at line 160 of file ItemPack.java.


The documentation for this enum was generated from the following file: