use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class AttackWeb 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 BonusLoot 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 InvulnerabilityFallDamage 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 MovementSpeed method applyPowers.
@Override
public void applyPowers(Entity entity) {
entity.setMetadata(powerMetadata, new FixedMetadataValue(plugin, true));
((LivingEntity) entity).addPotionEffect(new PotionEffect(PotionEffectType.SPEED, Integer.MAX_VALUE, 2));
MinorPowerPowerStance minorPowerPowerStance = new MinorPowerPowerStance();
minorPowerPowerStance.itemEffect(entity);
}
use of com.magmaguy.elitemobs.powerstances.MinorPowerPowerStance in project EliteMobs by MagmaGuy.
the class DoubleHealth 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);
}
}
Aggregations