1.18.2 i did not test it block.getDrops(player.getActiveItem()).toArray(new ItemStack[0]) #getDrops(ITEMSTACK) will return a collection of what...
If you want to use the whole code here you go, you can use it like a template or something idk. [SPOILER]
Your Main class should extend JavaPlugin and register events there, something like this: public class Main extends JavaPlugin { @Override...
i wrote the code for 1.18.2 in paper, and i tested it in both bukkit and paper, and it worked. do you have any plugin installed that controls...
This code works for me: [SPOILER]
the class cl.chunkloader.ChunkLoader needs to extend JavaPlugin something like this: public class ChunkLoader extends JavaPlugin {
use ChunkLoader(Plugin plugin)
you are using papermc in your pom: <dependency> <groupId>com.destroystokyo.paper</groupId>...
The CostumModelData is 5 if you find any bugs tell me.
1. which version of minecraft? 2. name of the plugin? 3. we cannot add new items. what you can do is create a server texturepack for a gold...
if you want to try and do it yourself don't click on code. [SPOILER]
what do you mean by block? block the effect or block the potion item? if the item should be blocked, will the item be removed once the player...
p.getInventory().setItemInOffHand(ITEMSTACK);
if you find any bugs tell me :)
so if i understand correctly you want us to make a plugin that makes that everyone on the server has a current level and the level defines what...
Separate names with a comma.