Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
I would try comparing entity id’s. You can print out both of the entity id’s and see if they end up matching up and that could lead you somewhere.
Pretty simple if you look in the docs,
On the inventory click event or pickup item event check if it’s that slot and if it isn’t a sword going into it cancel the event.
I was going to recommend the same thing but I don’t think but I don’t think there is any way to iterate through all the blocks in the bounding box.
What if it actually is zero? I believe that when someone spawns it’s zero, and possibly when someone is teleported or warped etc.
You mention you have custom packet classes? I was bored and decided to do this myself and was able to read all values of both packets using some...
I do think that shading is possibly the answer here. Here is a tutorial. Then a good example configuration is on comment #6 here.
You could find the range between the player's location and the event's block. Here is a repo that you could make use of for calculating that range...
Have you at least tried those public methods.
Have you set those fields to accessible like I said in my message before the last?
Did you try what I said and set the actual health?
How could the player health decline to 20 if that is where it defaults to?
I think that really the only way of going about this is listening to that AsyncPlayerChatEvent, I looked around in the bukkit source code for...
Not quite sure what you mean, but I know that when you set a larger max health you still keep the same health value. So if you already have the...
Actually, what if you just use these methods to get your values since they’re public? [ATTACH]
You might want to set those fields to accessible first.