Added gadget class
This commit is contained in:
parent
01076ec054
commit
5764a4bce3
@ -1,8 +1,26 @@
|
|||||||
package mineplex.core.gadget.types;
|
package mineplex.core.gadget.types;
|
||||||
|
|
||||||
|
import org.bukkit.Material;
|
||||||
|
import org.bukkit.entity.Entity;
|
||||||
|
|
||||||
|
import mineplex.core.gadget.GadgetManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles custom particle effects for the arcade hub kit selectors
|
* Handles custom particle effects for the arcade hub kit selectors
|
||||||
*/
|
*/
|
||||||
public class KitSelectorGadget
|
public abstract class KitSelectorGadget extends Gadget
|
||||||
{
|
{
|
||||||
|
|
||||||
|
public KitSelectorGadget(GadgetManager gadgetManager, String name, String[] lore, int cost, Material mat, byte data,
|
||||||
|
String... alternativeSalesPackageNames)
|
||||||
|
{
|
||||||
|
super(gadgetManager, GadgetType.KIT_SELECTOR, name, lore, cost, mat, data, 1, alternativeSalesPackageNames);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Plays the next particle for the selected entity
|
||||||
|
* @param entity
|
||||||
|
*/
|
||||||
|
public abstract void playParticle(Entity entity);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user