Added more functions to IPlayer, IEntityLiving, IEntityLivingBase, and IAnimal.

This commit is contained in:
Luis C.M committed 2022-12-26 01:13:27 -06:00
1 parent f481602612
commit 3546dfc3be
4 files changed
+20 -1

No files matched your search

@@ -1,7 +1,6 @@
package noppes.npcs.api.entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
import noppes.npcs.api.IBlock;
import noppes.npcs.api.IDamageSource;
import noppes.npcs.api.IPos;
@@ -62,6 +61,16 @@ public interface IEntityLivingBase<T extends EntityLivingBase> extends IEntity<T
*/
IEntityLivingBase getAttackTarget();
int getAttackTargetTime();
void setLastAttacker(IEntity p_130011_1_);
IEntity getLastAttacker();
int getLastAttackerTime();
boolean canBreatheUnderwater();
int getType();
boolean typeOf(int type);