There is no an auto way?, whatever, I'm using that if there isn't, thanks.
I'm trying to add items to an inventory, I use: itemStack.setAmount(amount); player.getInventory().addItem(itemStack); It's working great for...
Having the same need... :S. I cant get the event listened.
xize I think you did it bad again xD, is: HandlerList.unregisterAll(listenerInstance); Thanks very much :D.
I would like to unregister a full Listener class (all it's handlers) without having to disable event by event. For example, I have a class...
:D Thanks, I didn't though on using that. If I use that it prints well all effects but the first one is "null" so I think it must be a bukkit...
The stacktrace I pasted here is from the last 1.6.4-R0.1 development version.
Ultimate_n00b No, I have the first one. Is more, I use the exact code but with Horse.Color and many more and works pretty fine, is just with...
Of course: 2013-10-14 00:10:34 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'admin' in plugin...
I'm trying to get a list of all effects with: for(PotionEffectType effect : PotionEffectType.values()) effects.add(effect.toString()); //...
MiniDigger yes, this is just what I was looking for, is perfect!. There is a little mistake on the code you posted, foodyling just on: // Set...
O.O xD ok, I accept your answer... [facepalm]
I would like to set a beacon effect (so I can apply effects that beacon hasn't got) if it's possible but I can't find a way to do it so any help...
Why are you making the last sentence (tillMidnight / 50), mustn't it be tillMidnight * 0.02 (20/1000)?
The problem there is if the mob isn't loaded. Whatever, the only way I found is saving the mob location on each chunk unloading (taking that chunk...
Yes, I use it on many other hashmaps and it works fine. If it is helpful, I'm using Bukkit 1.6.4 R-0.1 If I check if that mob is valid:...
I'm trying to despawn some cached mobs: for(MyMob mymob : mobList.values()){ if(!mymob.getMob().getLocation().getChunk().isLoaded())...
I would like to spawn a mob randomly on a "safe zone", without water, lava, suffocated and not falling (in land). I'm thinking on a try-error...
metalhedd Is done and working, thanks ;): ProtocolLibrary.getProtocolManager().addPacketListener(new...
That's better than nothing, could you save me some time putting here a fast way or a start-from of the code to do it with ProtocolLib?.
Separate names with a comma.