Is it possible to run the spigot server with a custom plugin on your computer and connect to the server without an internet connection? Could you...
oh ok edit: this code doesn't work, can someone help? the setTarget option isnt available! @EventHandler public void...
So how would i code this because i don't know how to check which player is the closest. Can you give me the basic template for me to use? Edit:...
Is that the loop to get the location of each other? but how do you get the closes player from the enderman and how to make the enderman attack it?...
How?
The closest player
This is my code so far but it doesn't work. Can someone help plz? @EventHandler public void onCreatureSpawn(CreatureSpawnEvent event) {...
Oh OK I will try that Thanks it works now <3 Edit: moderator can you mark this thread as solved, i don't know how to EDIT by Moderator: merged...
I want a code that setTargets of entities to null when a player is holding a specific item but the code doesn't work. plz help import...
I'm trying to code it so when a command is sent, you get a stick but has the properties that when right clicked, it will give you regeneration or...
ok i will try umm can u send the code cause current i am trying to create the code but having no luck EDIT by Moderator: merged posts, please...
no i'm registering it as an event listener when an entity spawn check if entity is villager, if so set health to 0
What would the code be for when a villager can see the player and then something happens and if it cannot be done with a villager, lets say a...
It didn't work
So currently I am trying to make a plugin when villagers spawn they die (Don't ask why) but currently my code only kills villagers that are...
Separate names with a comma.