3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 13:30:05 +01:00
Paper/src/main/java/net/minecraft/server/EntityComplex.java

27 Zeilen
653 B
Java

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;
}
2012-02-29 22:31:04 +01:00
public boolean dealDamage(DamageSource damagesource, int i) { // CraftBukkit - protected -> public
return super.damageEntity(damagesource, i);
}
}