use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class AttackFire method applyPowers.
@Override
public void applyPowers(Entity entity) {
entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
minorPowerPowerStance.itemEffect(entity);
}
use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class Taunt method applyPowers.
@Override
public void applyPowers(Entity entity) {
entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
minorPowerPowerStance.itemEffect(entity);
}
use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class DoubleDamage method applyPowers.
@Override
public void applyPowers(Entity entity) {
if (!(entity instanceof IronGolem)) {
entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
minorPowerPowerStance.itemEffect(entity);
}
}
use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class Invisibility method applyPowers.
@Override
public void applyPowers(Entity entity) {
entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
((LivingEntity) entity).addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1));
MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
minorPowerPowerStance.itemEffect(entity);
}
use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class InvulnerabilityArrow method applyPowers.
@Override
public void applyPowers(Entity entity) {
entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
minorPowerPowerStance.itemEffect(entity);
}
Aggregations