blob: 29c337c0cf9b38a7c8357a1ff89bc821fcd74e82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package net.minecraft.server;
public class EntityComplex extends EntityLiving {
protected int t = 100;
public EntityComplex(World world) {
super(world);
}
public int getMaxHealth() {
return this.t;
}
public boolean a(EntityComplexPart entitycomplexpart, DamageSource damagesource, int i) {
return this.damageEntity(damagesource, i);
}
public boolean damageEntity(DamageSource damagesource, int i) {
return false;
}
public boolean e(DamageSource damagesource, int i) { // CraftBukkit - protected -> public
return super.damageEntity(damagesource, i);
}
}
|