Skip to content

Instantly share code, notes, and snippets.

View detobel36's full-sized avatar

Detobel detobel36

View GitHub Profile
@marysaka
marysaka / BiomeRegistry.java
Created March 1, 2016 12:27
[Spigot 1.9 NMS] Biome Registry Hack
package eu.thog.base.utils.v1_9_R1;
import eu.thog.base.utils.IDRegistry;
import eu.thog.base.utils.IRegistry;
import eu.thog.base.utils.ReflectionUtils;
import net.minecraft.server.v1_9_R1.BiomeBase;
import net.minecraft.server.v1_9_R1.MinecraftKey;
import net.minecraft.server.v1_9_R1.RegistryID;
import net.minecraft.server.v1_9_R1.RegistryMaterials;
import org.apache.commons.lang3.Validate;