@vhbob The way I usually do it is using a HashMap<UUID,Inventory> :)
I am pretty sure there is no event that fires whenever an entity is pushed... How would you detect "each time the entity is moved"?
@Konato_K Thanks for the help anyway, but I am not going to dig into NMS if I already know it is not going to fix my main problem, which is the...
Not trying to be rude, but you should read the question before answering :/ The problem is that that solution doesn't work, when a player relogs...
How can I do that? How can I apply ".getHandle().collidesWithEntities = false;" to a LivingEntity? CraftIronGolem.getHandle() doesn't have...
Just tested, does work on disable pushing, but it creates other issues. It "deletes" bow fights. Since they can't collide with entities, being...
That attribute resets on relog? By that I mean, do I have to apply it to every player on log in? And can't I apply it to just iron golems? Might...
But how... I found this code example that supposely prevents colisions: @Override public void g(double d0, double d1, double d2) {...
Ok, well, thanks anyway for you help ;) I will keep the question here to see if anyone can help me... Question: How to "apply" something to a...
But I'll also have quest NPCs to which I would like to apply the same thing, but they would be at ground level, and I don't want players to push...
what do you mean by pod? What is that?
That seems like it could work, the first solution. I know how to make a player in an array list not be able to attack iron golems... but how can...
It is a warden for a prison server, people will be interacting with it all the time. So yeah, they will have to be able to right click it.
Tried that, and it had no difference at all. I tried 255, 126, even 50. As soon as a player relogs they can kill the entity and move it just fine....
I tried that, it works on living entities, but it just does the same thing, works until player leaves and relogs, then that effect vanishes. I'm...
Separate names with a comma.