Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class<?> clazz = Class.forName("net.minecraft.entity.EntityList");
- Method method = clazz.getDeclaredMethod("addMapping", new Class[] { Class.class, String.class, int.class });
- method.invoke(null, RyeDragon.class, "RyeDragon", 63);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement