I'm trying to set an anvil and make it face a given direction. This is what I've tried: public byte getDirection(BlockFace dir) { byte d...
I have a spectator system, but I don't want arrows to interact with players who are hidden. I know VanishNoPacket does this, but I'm not quite...
I'm hooking into factions, and I need to check if a player has a certain power. Here's what I'm doing now:MPlayer mplayer = MPlayer.get(player);...
I'm trying to make a glass box using two coordinates. I'm not sure how to loop through the blocks to get this to work. Any ideas?
It's extremely far off target. Usually by 20+ blocks.
The image is broken, but I believe what you're looking for is the Action Bar.
I'm trying to make a fireball shoot at a player, but I can't seem to get the velocity right. Here's what I have: Vector from =...
How do I make something happen at that given time? Do I have a repeating runnable?
I'm making a plugin where every Friday there will be an event. I know how to make cooldowns with runnables and whatnot; however, I want this event...
I'm trying to make a 3x5 box of glass. I understand how to make a square box, but I've never made a rectangular box before. Any idea on how to...
That class uses OfflinePlayer's. I heard that is no longer the best way to handle scoreboards, instead use strings. Is this true?
I'm using the scoreboard to display player stats (kills, deaths, wins, etc). However, before I do the updating portion, I was wondering what is...
As we all know, 1.8 came out with a new gamemode called "spectator mode." I know how to put a player in spectator mode, but I'm not sure how to...
I need to get the location two block in front of where a player is running. This doesn't have to be a block location, it can be a coordinate. How...
Separate names with a comma.