Basically I'm making my own version of manhunt and I want the hunters to be unable to get rid of their tracker compass. This is my code right now:...
Question in title. Also what alternatives are there to isCursed ?
Hello, I'm updating an item that the player is holding every few ticks, but that causes it to look like the player is constantly picking up an...
I made a plugin which allows people to use minecarts as cars to drive around. However popular anticheats such as NoCheatPlus detect this as the...
I made a simple cars plugin, you enter it and go in whatever direction you look. I started working on adding acceleration, but it literally seems...
Hello, for a while now I have been trying to make a SkyWars plugin. My main issue is that for every game it creates a new world, teleports all the...
I'm just trying to stop the sound "MUSIC_DISC_OTHERSIDE". I have tried: player.stopSound(Sound.MUSIC_DISC_OTHERSIDE); But no matter how I tried...
I just wanted to generate a random item from the fishing loot table. Here is my code: Random random = new Random(); LootTable fishingLoot =...
Im adding custom loot to the game (I do this by checking if any chest the player opens has a loot table and the adding stuff), but I don't know...
I need to check if item can take damage e.g. Sword, Axe, Fishing Rod etc. Or if it can't e.g. stone, enderpearl etc. I have tried the following:...
I'm making a simple plugin that will keep track of player kills, deaths and more. I really wanted to minimize IO calls to make it faster however I...
I'm making a custom mob creator, in this creator you can set the sounds that the mobs make. The problem lies within actually playing those sounds....
I'm making plugin where people can claim chunks, but if they don't login for one amount of days the chunk will unclaim itself. I currently have a...
I'm trying to save a chunk into a schematic and then paste it. However it always results in making the whole chunk nothing but AIR, I believe the...
I'm making a GUI where pressing escape should take you back to the menu you were on previously, how can I detect if the player pressed escape to...
I'm trying to do the following: Unload a world. Overwrite a few files in the world directory. Load world. In theory this should completely change...
I want to store all entities of a chunk in a file. How can I convert the entity into a string/byte[] to store it, and how would I get the entity...
I have VERY heavy code that needs to run. (It takes about 7 hours to run!) My testing server would always time out and shut down. This can be...
I'm trying to recreate the anti knockback property of netherite armor, so that when you are punched, or a creeper explodes you wouldn't take as...
I need to access the class net.minecraft.world.level.chunk.storage.ChunkSerializer. This is can be found in minecraft's source code. How can I get...
Separate names with a comma.