Class EffectInstance
java.lang.Object
net.tnemc.item.component.helper.effect.EffectInstance
EffectInstance
- Since:
- 0.2.0.0
- Author:
- creatorfromhell
-
Constructor Summary
ConstructorsConstructorDescriptionEffectInstance
(String id) EffectInstance
(String id, int amplifier, int duration, boolean showParticles, boolean ambient, boolean showIcon) -
Method Summary
Modifier and TypeMethodDescriptionboolean
ambient()
void
ambient
(boolean ambient) int
void
amplifier
(int amplifier) clone()
int
duration()
void
duration
(int duration) boolean
int
hashCode()
id()
void
void
readJSON
(JSONHelper json) boolean
showIcon()
void
showIcon
(boolean showIcon) boolean
void
showParticles
(boolean showParticles) org.json.simple.JSONObject
toJSON()
-
Constructor Details
-
EffectInstance
public EffectInstance() -
EffectInstance
-
EffectInstance
public EffectInstance(String id, int amplifier, int duration, boolean showParticles, boolean ambient, boolean showIcon)
-
-
Method Details
-
toJSON
-
readJSON
-
equals
-
hashCode
-
id
-
id
-
amplifier
-
amplifier
-
duration
-
duration
-
ambient
-
ambient
-
showParticles
-
showParticles
-
showIcon
-
showIcon
-
clone
- Throws:
CloneNotSupportedException
-