I'm trying to entities around a location, and for some reason nothing happens, the println calls and prints the entity but the entity is not damaged, why?
No I mean is the code running on the server thread? Maybe show more code and/or more of your logs... you've provided very little code to go on here. It'd be nice to see the entire method that code is being run in and where the method is (which class).
I'm trying to entities around a location, and for some reason nothing happens, the println calls and prints the entity but the entity is not damaged, why?
Printed message
EntityCow['Cow'/24, l='MpServer', x=10.72, y=64.00, z=598.69]
Method
Are you running it on the server?
By that I'm guessing your asking if its a client world? If so no its not a client world
No I mean is the code running on the server thread? Maybe show more code and/or more of your logs... you've provided very little code to go on here. It'd be nice to see the entire method that code is being run in and where the method is (which class).
I just found the problem, I was trying to hurt entities without checking World.isRemote