Skip to content

Instantly share code, notes, and snippets.

View mcardy's full-sized avatar

Michael Cardy mcardy

View GitHub Profile
@mcardy
mcardy / ParticleEffects
Created December 1, 2013 17:21
A particle effects library for Bukkit 1.7.2
/**
* Particle Effects Lib
*
* @author minnymin3
*
*/
public enum ParticleEffects {
HUGE_EXPLODE("hugeexplosion", 0), LARGE_EXPLODE("largeexplode", 1), FIREWORK_SPARK("fireworksSpark", 2), AIR_BUBBLE(
@mcardy
mcardy / BossBar
Created December 1, 2013 20:22
A class that utilizes packets to use the boss health bar
/**
* BossBar
* <br>
* Create and save a new instance of this class and then use the setStatus method
* to set the player's boss bar status
*
* @author minnymin3
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
@mcardy
mcardy / Bukkit Annotation Commands
Last active January 1, 2016 07:49 — forked from arxenix/Bukkit Annotation Commands
Fixed access modifiers allowing for @command and @completer to be used outside of just that package
package net.minezrc.framework.test;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.command.*;
import org.bukkit.entity.Player;
import org.bukkit.help.GenericCommandHelpTopic;
import org.bukkit.help.HelpTopic;
import org.bukkit.help.HelpTopicComparator;
import org.bukkit.help.IndexHelpTopic;