Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

attackEntityFrom

MasterOf13FPS

Administrator
Staff member
Administrator
MasterOf13FPS
Joined
Jul 11, 2020
Messages
0
Reaction score
25
Points
0
Hey,
im coding in mcp910.
Is there a way to get who is attacking me and get the entity?
 
In EntityLivingBase should be a method called getLastAttacker if I remember correctly.
 
In EntityLivingBase should be a method called getLastAttacker if I remember correctly.
i was more looking for something like a listener when I get attacked
or is there is method called in a class which get called if something attack me?
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top