OreRequirement
Represents an ore requirement for smelting a bar.
Final classRLPlugins API
public final class OreRequirement implements RequirementMembers
Constructors
- newOreRequirement(int, int)
Creates a OreRequirement.
Methods
- Booleanget()
Get.
- Objectget()
Get.
- intgetCount()
The count.
- intgetOreId()
The ore id.
- StringtoString()
A text form, for log lines.
OreRequirement(int, int)
public OreRequirement(int oreId, int count)Creates a OreRequirement.
Parameters
oreId- Ore id.
count- Count.
get()
public Boolean get()Get.
get()
public Object get()Get.
getCount()
public int getCount()The count.
getOreId()
public int getOreId()The ore id.
toString()
public String toString()A text form, for log lines.
Also allowed
Every class has these, as in plain Java.
equals