Skip to content

Instantly share code, notes, and snippets.

View noobmobile's full-sized avatar

Luiz Eduardo noobmobile

  • Fortaleza, Ceará
View GitHub Profile
@DevSrSouza
DevSrSouza / JsonItemStack.java
Created December 3, 2017 01:48
Parse Bukkit ItemStack to JSON
import com.google.gson.*;
import org.bukkit.Color;
import org.bukkit.DyeColor;
import org.bukkit.FireworkEffect;
import org.bukkit.Material;
import org.bukkit.block.banner.Pattern;
import org.bukkit.block.banner.PatternType;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;