Hey! I have made ItemStacks outside a method.. like public ItemStack weanuiwand = new BlahBlah Stick; but how would I add enchantments out side...
Erigitic Yes, I know that
Eniripsa96 Tried that but only works when a player places the signs with those lines
Erigitic yes
ZachBora What do you mean?
Hey! My signs wont update. I dont see what is wrong with the code. String lala = "███████████████"; @EventHandler public void...
Bart epicfacecreeper Th3Br1x sgavster Here.. I worked out a working code @EventHandler public void onCraft(CraftItemEvent e) {...
epicfacecreeper That the code for the event. I cant post the whole class as my plugin is a minigame and its 800 lines long. I like to work with 1...
sgavster Error on .getType()?
Th3Br1x I have all the codes in one class Th3Br1x Also there is no console errors EDIT by Moderator: merged posts, please use the edit button...
Th3Br1x The class is 50 lines long Th3Br1x Here it is in simple form @EventHandler public void onCraft(CraftItemEvent e) { Player...
epicfacecreeper yep. Tried a debug message and when I created the bread it didnt show any messages
sgavster I just tested it and it didnt work :/
Hey! I am creating a minigame which I need to allow players to break crops(wheat). So what would the code be to check if its a wheat(crop)...
sgavster Thanks!
jusjus112 agokhale1 Thanks
Hey! How would I check when a player crafts a bread and then give them 1 level of XP? public void onCraft(CraftItemEvent e) { } Thanks...
Off Topic: Are you coding a minigame like Dragon Escape? Mineplex minigame
Hey! How would I get an event when a player hits another player not KILL hit. Thanks for your time, Hari
Hey! How would I get a certain block? public void onBlock(BlockDamageEvent e) { Block b = e.getBlock(); } So basically if a creeper blocks...
Separate names with a comma.