Skip to content

Instantly share code, notes, and snippets.

@JuiciFruit
JuiciFruit / Head.java
Created January 6, 2015 11:46
Minecraft head utility class for Bukkit/Spigot
package net.juicifruit.util;
import java.lang.reflect.Field;
import java.util.UUID;
import org.apache.commons.codec.binary.Base64;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
@JuiciFruit
JuiciFruit / PlayerDataManager.java
Last active May 4, 2016 00:10
Reflection based PlayerDataManager class
package juicydev.example.player;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.UUID;
import juicydev.example.ReflectionUtil.PackageType;
import juicydev.example.ReflectionUtil.SubPackageType;
import net.minecraft.util.com.mojang.authlib.GameProfile;