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
yes i did
Hi, I'm trying to make different weapons do certain amounts of damage, in this case a sword that instantly kills someone. The code doesn't detect...
Hi, I'm making a sentry gun and the way I've chosen to do so is by spawning a skeleton and making it shoot arrows every 5 ticks at the person in...
NinjaWAffles Thx for the second link u gave me it helped a lot, PolarCraft The_Doctor_123 I didn't need to spawn a potion in a location, I just...
Hi, I haven't really worked much with potions and I don't know how to spawn them in. I'm trying to spawn in a splash mundane potion, can someone...
Separate names with a comma.