public class ENCH extends MagicItem
Modifier and Type | Class and Description |
---|---|
static class |
ENCH.EnchantType |
static class |
ENCH.ENCHFlag |
MajorRecord.MajorFlags
Modifier and Type | Method and Description |
---|---|
boolean |
get(ENCH.ENCHFlag in) |
int |
getBaseCost() |
FormID |
getBaseEnchantment() |
CastType |
getCastType() |
int |
getChargeAmount() |
float |
getChargeTime() |
DeliveryType |
getDeliveryType() |
ENCH.EnchantType |
getEnchantType() |
FormID |
getWornRestrictions() |
void |
set(ENCH.ENCHFlag in,
boolean on) |
void |
setBaseCost(int cost) |
void |
setBaseEnchantment(FormID id) |
void |
setCastType(CastType type) |
void |
setChargeAmount(int amount) |
void |
setChargeTime(float time) |
void |
setDeliveryType(DeliveryType type) |
void |
setEnchantType(ENCH.EnchantType type) |
void |
setWornRestrictions(FormID id) |
addMagicEffect, addMagicEffect, clearMagicEffects, getMagicEffects, removeMagicEffect
getDescription, setDescription
getName, setName
copy, deepEquals, equals, get, getEDID, getForm, getFormMaster, getFormStr, hashCode, print, set, setEDID, setForm, toString
getRecordLength, getType
public void setBaseCost(int cost)
cost
- public int getBaseCost()
public void set(ENCH.ENCHFlag in, boolean on)
in
- on
- public boolean get(ENCH.ENCHFlag in)
in
- public void setCastType(CastType type)
type
- public CastType getCastType()
public void setChargeAmount(int amount)
amount
- public int getChargeAmount()
public void setDeliveryType(DeliveryType type)
type
- public DeliveryType getDeliveryType()
public void setEnchantType(ENCH.EnchantType type)
type
- public ENCH.EnchantType getEnchantType()
public void setChargeTime(float time)
time
- public float getChargeTime()
public void setBaseEnchantment(FormID id)
id
- public FormID getBaseEnchantment()
public void setWornRestrictions(FormID id)
id
- public FormID getWornRestrictions()