that would be because the default amount is '0' if no amount is specified. new ItemStack(Material.GOLDEN_APPLE, 1) would work aswell
yeah i checked. Also attempting to use .getItemType() on a Null materialData object just throws nullpointerexception
Alright, so im trying to get the Endermen to drop their carried blocks on death, however the .getCarriedMaterial() event seems flawed it returns a...
player2.getInventory().addItem(new ItemStack(Material.SAND, 1)); player2.sendMessage(ChatColor.GRAY + "You have been given 1 sand from " +...
ah, well i wanted the server start to be "paused" until isFInished is true, which is when the GUI is closed. the entire setupconfig method is...
how would the bukkit scheduler help me accomplish the task? also, it can't really be the Thread.sleep(20) that causes the GUI not to show? seeing...
Hey, Im trying to get a GUI to show the first time the plugin is used (if a config file does not exist) but the GUI just won't show? I wanted to...
Nope, no errors public class HappyWorkbench extends ContainerWorkbench{ public HappyWorkbench(EntityPlayer ep, int windowId){...
@Relick, thats not what i need. I want to make different workbench interfaces/permissions; so that the "special workbench" that they can make...
Hey, i happened to get stuck with a rather odd error while making a new plugin, I wanted to make a special workbench with customizable recipies,...
how do i do it :\? i need to get the name that a server has given their iConomy currency, so i can customize my messages alike.
I'd say something like this: (if exp = 1000) int exp = 1000; int level = 0; for(int i : expperlevel){ if(exp >= i){ exp = exp - i; level++; } else...
simple question, i need to know this before i chose how i make this plugin im gonna start up.
I already did :C i cant seem to find anything but the ability to check if playername is member or owner of a region; perhaps i could make the...
Need to check if a player has permission to a WG region while the player is potentially offline; WG's .canBuild only takes Player object input,...
Separate names with a comma.