All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sucy.skill.api.event.AbstractProjectileLandEvent Maven / Gradle / Ivy

Go to download

A Minecraft Bukkit plugin aiming to provide an easy code API and skill editor for all server owners to create unique and fully custom classes and skills.

There is a newer version: 1.3.1-R1
Show newest version
package com.sucy.skill.api.event;

import com.sucy.skill.api.projectile.CustomProjectile;
import com.sucy.skill.api.projectile.ItemProjectile;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class AbstractProjectileLandEvent extends Event {
    private static final HandlerList handlers = new HandlerList();

    private final T projectile;

    /**
     * 

Initializes a new event.

* * @param projectile the projectile that hit something */ public AbstractProjectileLandEvent(T projectile) { this.projectile = projectile; } /** *

Retrieves the projectile

* * @return the projectile that hit something */ public T getProjectile() { return projectile; } /** *

Bukkit method for taking care of the event handlers.

* * @return list of event handlers */ @Override public HandlerList getHandlers() { return handlers; } /** *

Bukkit method for taking care of the event handlers.

* * @return list of event handlers */ public static HandlerList getHandlerList() { return handlers; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy