CreatureType huntType = CreatureType.SPIDER; public void onEntityDeath(EntityDeathEvent event) { Entity entity = event.getEntity();...
I'm making a plugin where you perform rituals to use magic. At one of the rituals, you are required to hunt for the souls of mobs. When the...
Cause I could just convert all the data types to ones that are serializable and then convert it back into the spider, like you said. Also, when...
Is it possible to create a Serializable for the spiders? And are entity IDs lost trough reloads?
Does that work on hashmaps containing entities such as spiders? And containing enums?
How do I use config files, and how do I save hashmaps?
I agree with above.
Reading it now... (http://forums.bukkit.org/threads/example-of-custom-events.32376/) Supplying a link is useful btw, saves trouble searching for...
No, no, I already coded the "soul". It's rendered using smoke and moves to the location if it's close enough. When it's at the location, you hear...
I'm working on a plugin where you use rituals to make magic stuff happen. One requires collecting souls of mobs. When a mob dies nearby the ritual...
I'm working on my first plugin now, where you perform rituals to use magic. They require specific structures. Basically, when a block is placed,...
Works. Data is direction (31 is no direction) and you can supply an additional int value at the end for the render range. The effect location...
Smoke effect should be fine for what I'm trying to do. How do I invoke it?
Is there any way to spawn particle effects? Like at an explosion, but without the sound and the actual explosion?
Didn't know of the EntityDamageByEntityEvent object. Thanks.
I want to have something happen when a certain player attacks a spider. However, I don't know any way to check who caused the damage with...
Currently, I'm working on a plugin that adds pet spiders. I used the ENTITY_TARGET event to see when a spider targets it's owner, but I can't find...
Still the same error. Thanks, I replaced PluginDescriptionFile pdfFile = this.getDescription(); by PluginDescriptionFile pdfFile; and put pdfFile...
I get an error message while enabling/disabling my plugin. The plugin works fine, but it looks ugly, and it stops the Stopper plugin from working....
I want to check for mushrooms anywhere in the world and execute a function when they are found. I used onChunkLoad and checked all the blocks,...
Separate names with a comma.