Create a Rune

Create a Rune

To create a Rune, simply use

new Rune(Location loc, RuneShape shape, ParticleEffect PEffect, RuneEffect REffect, boolean disappearsAfterUsage)

Example:

new Rune(new Location(Bukkit.getWorld("world"), 0, 0, 0), RuneShape.CIRCLE, ParticleEffect.FLAME, new RuneEffectExplode(), true)

Location

The Location of the Rune.

RuneShape

The Shape of the Rune. Right now there are 4 diffrent RuneShapes (CIRCLE, SQUARE,POINT and STAR)

ParticleEffect

The Particle Effect of the Rune (to make it more compatible this plugin uses ParticleEffect v1.7)

RuneEffect

The Effect that is executet when someone goes into the Rune. You can either use one of the existing RuneEffects or create youre own.

Disappears after usage

If this boolean is true the rune will be removed automaticly after executing the RuneEffect.


Comments

Posts Quoted:
Reply
Clear All Quotes