@bwfcwalshy For whatever reason the code didn't paste correctly, now it should make a little more sense
Thanks so much, I was able to fix it with that event. What I did was taking the PotionMeta from the crafting recipe and applied it onto the...
So I did some bug testing, and spawned all arrows and potions into a chest, with this code for(PotionType potionType :...
So I'm trying to create recipes to make tipped allows for all potion type (including splash). But so far the only arrow I can make is Arrow of...
Thanks, and I only care about 2D. So pythagoras it is. Its not only two players. It can be any number of players
I need to know how many block I need to send each player for them to be X amount of block from each other. So far I have (all start from 0, 0)...
I'm making a new Location to where I send them, and then use that with the .teleport() function in the Entity class.
I recently made a portal plugin. The problem is that when people are using the portals they get teleported back, with the error "moved too...
But I also need to know who shoot it.
Is there a event that runs/triggers when a entity gets hit with by a projectile?
I don't know how to explain it. Without the loop, all I'm getting event.getBlock() is redstone wire, button, and redstone torch on/off. No the...
Well the code works. But can i somehow remove the loop and get the same effect?
How do I check if red wool being powered, For it must be a better way than what i have so far. public final static Integer[][] moveToAll =...
I have some questions about getting block. My current plugin require to get block that can be many block away from nearest players, and there for...
Just air.
Okay... Then how do i create a normal world with no layers?
How do I create a Sky world? I tried with this wc = new WorldCreator(world.getName()+"_sky"); wc.seed(world.getSeed());...
It doesn't work for I want to remove 17 exp that I gave the player with the giveExp code. But setExp is a float to next level.
Thanks that worked... but now I have the opposite problem. How do I remove exp? player.setExp(player.getExp() - 17); don't exactly work.
I'm working on a plugin that going to give exp to players. But don't know the codes for it.
Separate names with a comma.