Wow thanks i didnt even know that was possible [emoji1] thanks man
Im using craftbukkit 1.8 snapshot maybe thats the reason. If there are more versions it occurrs in people can come backto this thread
Hey Bukkit forums! I recently needed to read argumens from a list from the PlayerCommandPreprocessEvent. To do this i tried to use...
@Rocky_990 @Synapz It is impossible. You can make a biome look like another biome to the client, but wether it is snow or rain is dependent on the...
cancelling the event this late is something bukkit no longer cares about. also you are checking if it is NOT on the ground. @tytwining @Regenwurm97
Just do it like this: make an arrayList of items (or uuids if you wanna be super efficient) every tick (0 tick scheduler) for all items in the...
@567legodude lets not assume here :P Scoreboard sb = Bukkit.getScoreBoardManager.getNewScoreboard(); for(Player p : w.getPlayers()){...
simple: ItemStack is = new ItemStack(Material.FLUNT_AND_STEEL); is.setDurability(0); //one use left; is.setDurability(1); //two uses left; :)
@Skylord_Torni in minecraft the caracter that defines color is ยง if you are saving something to the config that character might not load so set it...
you gotta send them a packet. (oh boy we're gonna be here for a while) i would do: PacketPlayOutNamedEntitySpawn packet = new...
Add an if(event.getCause().equals(DamageCause.FALL))
@FisheyLP @Gater12 @feff890 Even simpler when doing it for multiple classes: In your main add: public static Main main; public Main(){ main =...
I would use the location and then keep adding to the yaw. that makes the direction of the location rotate. then do Location newLoc =...
Random random = new Random(); int r = random.nextInt(10); int l = random.nextInt(3)+1; switch(r) case 0 : //add enchantment with level l break;...
if there shooter gets hit by the entity when riding it you may need to do CraftWorld.removeEntity(arrow) or something to cancel its collision
Separate names with a comma.