summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityComplex.java
blob: fea2046ea0c778b8def5538e9886bc3f07988e05 (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 dealDamage(DamageSource damagesource, int i) { // CraftBukkit - protected -> public
        return super.damageEntity(damagesource, i);
    }
}