2011-11-27 01:39:25 +01:00
|
|
|
package net.minecraft.server;
|
|
|
|
|
2011-11-30 00:17:43 +01:00
|
|
|
final class EnchantmentModifierDamage implements EnchantmentModifier {
|
2011-11-27 01:39:25 +01:00
|
|
|
|
|
|
|
public int a;
|
|
|
|
public EntityLiving b;
|
|
|
|
|
2011-11-30 00:17:43 +01:00
|
|
|
private EnchantmentModifierDamage() {}
|
2011-11-27 01:39:25 +01:00
|
|
|
|
|
|
|
public void a(Enchantment enchantment, int i) {
|
|
|
|
this.a += enchantment.a(i, this.b);
|
|
|
|
}
|
|
|
|
|
2011-11-30 00:17:43 +01:00
|
|
|
EnchantmentModifierDamage(EmptyClass3 emptyclass3) {
|
2011-11-27 01:39:25 +01:00
|
|
|
this();
|
|
|
|
}
|
|
|
|
}
|