Skip to content

Instantly share code, notes, and snippets.

View 602723113's full-sized avatar
👷‍♂️
Work Work

Zoyn 602723113

👷‍♂️
Work Work
View GitHub Profile
@602723113
602723113 / StructureUtil.java
Created April 18, 2018 02:01 — forked from MiniDigger/StructureUtil.java
Small util to load and save structures, using nms and reflection
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.util.Vector;
/**
* Small util to load and save structures<br>
@602723113
602723113 / NPC.jar
Created May 10, 2018 12:38 — forked from DanielTheDev/NPC.java
Bukkit/Spigot NPC Util 1.12
package com.plugin.npc;
import com.mojang.authlib.GameProfile;
import com.mojang.authlib.properties.Property;
import net.minecraft.server.v1_12_R1.*;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer;
@602723113
602723113 / ItemStackSerializer.java
Created August 17, 2018 12:09 — forked from masecla22/ItemStackSerializer.java
A class for converting bukkit ItemStack and ItemStacksArrays to Strings and back
package masecla.practicepvp.serializers;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import org.bukkit.inventory.ItemStack;
public class ItemStackSerializer {