HawkEyeDude but what about the EntityType.FISHING_HOOK ? HawkEyeDude and Fish.class is the hook entity...
If your having problems you can try this. Before you remove the item you test if the amount is 1, if it is set the item in hand to nothing. if...
Hi, i'm trying to make it when a player left clicks a leash a fishing hook is shot from it, but I can't seem to get it to work. First I tried...
Garris0n ty
Hey I need to figure out how to spawn items on the ground, but I'm not sure how to declare the type of item. Here's my code, anyone know how to do...
no that wouldn't work, im trying to figure out how to call this method, from another class. I need to know how to declare instance. public void...
Developing no this if (args[0].equalsIgnoreCase("start")) { if (p.hasPermission("feast.start")) { if...
Developing but when i call the method in my commands class, what would i declare the instance as ?
k here it is. Error : int task; int counter; main main = new main(); public void start() { settings.saveData(); task =...
Developing The error is a null error right when the scheduler starts. ThunderWaffeMC Heres the whole class. int task; int counter; main main = new...
Every time I run this scheduler I get an error, can anyone help me? Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this.main, new...
Hey, I know this is probably very easy to do, but how can I use a scheduler in a diffrent class besides my main one? I know the answer is...
mrCookieSlime getBlock() is not valid there is only isBlock() and it wont work for this, ty for trying though.
Hey, I need to spawn a chest in with items already in it but I'm not sure how, can anyone help me? Here's what I have so far. I need to find out...
mattrick16 it worked ty, cant believe it was that simple :P
Separate names with a comma.