Hm okay. Thanks for your replies. Can I fix this with a shaped recipe?
Ups. Sorry I forgot ^^ Here is the code: public void craftFilledGoldBag() { ShapelessRecipe craftFilledGoldBag = new...
Hey guys, I try to create a shapeless recipe with one stack goldnuggets and some leather. For now, I get this error message :...
Yeah okay I think I will calculate the durability from the maxDurability and the amount of items in the bag Thanks :)
Yeah I've already used a wooden hoe, renamed it and added another texture with mcpatchers custom item textures. You know any way to edit the...
Of course, but I want to make something like a pocket. The durability bar should show, how much items are in the pocket.
Hey guys, Is it possible to add a (maximum) durability to items which have no durability in default like a piece of leather or a piece of paper?...
Without the appropriate code, I can not help you ^^
for your NPE you have to use: if(is.getType().equals(Material.CHEST) { for your EventException: what is "i" and where did you define it?
for your first problem, you need to check for the diamond sword too. try something like this:...
I think it will be something like : player.getLocation().getBlock().getRelative(BlockFace.DOWN).setType(Material.STONE) I recommend to use...
You could add your code into a repeating task. Something like that would help you out :...
Sorry I don't really get it right now. What exactly should your plugin do or what is your problem?
Try to remove line 9 and 10 of your plugin.yml
Thanks for your reply but I fixed my problem another way :) For anybody who has the same problem, try: INSERT INTO data (posX, posY, posZ,...
Demonic Cow You have to register your command in the plugin.yml I think and the main fault : remove the " return false; " after the if section...
I can only speak for myself, but basically I always create, depending on how extensive my plugin is or would be in future, a package for my main...
You have to remove return false; Alternatively, you could also set it into an else section like: if (cmd.getName().equalsIgnoreCase("kamikaze")...
Hey guys, I need some help again with one of my plugins. I have a MySQL database in which the location (x, y, z, world) of a block is saved. If...
Hey guys, I get an error that I cannot fix... It takes me an NullPointerException at line 48 of my MainClass: pkDataFile.reloadPKData();...
Separate names with a comma.