blob: 754f75ba822a4f2be6d7bdae0174e22c739fcad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package fyresmodjam.misc;
import net.minecraft.util.DamageSource;
public class DamageSources {
private static boolean isInitted = false;
public static DamageSource inferno;
public static DamageSource retaliation;
public static DamageSource trap;
public static void doInit() {
if (isInitted) {
inferno = new DamageSource("inferno").setDamageBypassesArmor().setDamageIsAbsolute();
retaliation = new DamageSource("retaliation").setDamageBypassesArmor();
trap = new DamageSource("ywdtrap");
isInitted = true;
}
}
}
|