I don't want to link against CB.jar, which MobDisguise needs to do what it does. I might have to, though.
Because I need to set the player as a baby animal, which the API doesn't support.
Unfortunately, the MobDisguise commands only work when run by a player (it's dumb). They should really take a player as an argument, and work from...
(this might have been asked already, but I can't find it if it was) I know how to force a player to send a command, but how can I make the...
Public, in the nms Item class. It's called setContainerItem() in MCP, not sure what Bukkit's mappings call it.
Wow, thanks! I looked through the client source a bit. It seems that it uses the translateToLocal function to get the enchantment's name for...
Yes, BlockFadeEvent, AFAIK.
Err... I see that you wrote a plugin. To write it, you used the Bukkit API.
I understand that, I just need to know how to force an NPC to target and attack a player, like a monster.
https://github.com/Top-Cat/NPCLib Just go through and remove the few references to Spout in the source. They're not needed.
Alright, thanks.
Yes. Add WorldGuard as a soft dependency in your plugin.yml.
Not exactly what you want, but if anyone wants the code for a HashMap of CB entity class -> entity name, here it is. It has every CraftEntity (at...
Yeah, like you said. It gets the ThrownPotion object, which unfortunately is just a wrapper Projectile with no extra methods to get the type, etc.
I want to make mundane splash potions explode when they hit the ground, but I can't figure it out. Is there a way to know what the potion's type is?
Separate names with a comma.