EffectAPI
What is EffectAPI?
EffectAPI is a Developer Tool.
What does this API do?
- You are able to Play Effects which are not in the playEffect enum like the Tamed-Heart Effect
- You can easily spawn them with only one static void
How to use this API
1. Import the api.jar into your Java-Buildpath
2. Then go into your Event/Command class where you want to Play the Effect
3. Then type: EffectAPI.spawnEffectc(.....); and fill out all args
4. Done!
Args:
loc = Location its where you want to spawn the Effect (Location)
effect = the Effect which you want to spawn (String) like = "note" for the NOTE_EFFECT
amount = The amount of Effects which you want to spawn at the Location loc (int)
largex = the size of the Effect on the X Location of loc (double)
largez = the size of the Effect on the Z Location of loc (double)
largey = the size of the Effect on the Y Location of loc (double)
speed = the speed of the Effect how fast it should be played (double)
color = inDev just type 1 for the normal Effect (int)
That's it for questions add me on Skype : daluky.daluky
Download: http://dev.bukkit.org/bukkit-plugins/effectapi-tbl/files/
All Effects:
hugeexplosion
largeexplode
bubble
suspended
depthsuspend
townaura
crit
magicCrit
smoke
mobSpell
spell
instantSpell
note
portal
enchantmenttable
explode
flame
lava
footstep
splash
largesmoke
cloud
reddust
snowballpoof
dripWater
dripLava
snowshovel
slime
heart
iconcrack_
tilecrack_
Comments