Two Questions. 1. How to spawn a player NPC with a custom skin. 2. How to run code when the NPC is right/left clicked on.
So whenever a player join my server, my code is supposed to set their game mode to adventure, clear their inventory, and teleport them to spawn....
OK I got the code to run when the player right-clicks with the compass, but p2's compass is pointing towards him from my point of view so...
I have updated my code but it still seems to not work properly. here is the updated code: package main; import org.bukkit.Material; import...
I want to carry out an action when I right click on a compass on a block or in the air. My code doesn't give me any errors at all but it doesn't...
Thank you for your help. Is there a way to listen for block place event?
Thanks! I found a bug though, with the code that you gave me before to replace the block, the player can glitch through the block during the tick...
Thanks. I got it to work. But I'm going to be in adventure mode for the use of this plugin that i'm making, so I need a hoe to be able to break...
Ok, I got that to work. Is there a way that I can make it so that the wheat has to be fully grown before you can get anything from it? Like create...
How do I fix it then?
One question though, how do I disable item drops for the wheat when its broken? I would not like the seeds to drop, so I am planning on disabling...
No, I haven't figured out how. Ok, I figured it out using a document page. I have followed the errors myself and I have gotten it to work.
K, i'm getting somewhere. At least its giving me an error now. Here it is: [21:56:23] [Server thread/ERROR]: Fatal error trying to convert Farm...
Can you please elaborate? im fairly new to Java.
This is my new code but it STILL doesn't work. package main; import org.bukkit.Material; import org.bukkit.event.EventHandler; import...
That didn't fix it, I removed Listener and it did nothing.
I did try the older versions, but they either do not work, or are depreciated to the point of not working. I have gotten somewhere... I use this...
hello! I am trying to make a plugin for my server to replace crops whenever they are broken. preferably as baby form so that they can grow back...
I have solved the issue.
This is what I got: 09:02:28.301 Unknown custom packed identifier: minecraft:register 09:02:28.401 [CHAT] AlpacaKyle joined the game 09:02:29.331...
Separate names with a comma.