Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- import net.minecraft.src.uq.*;
- public class Loader
- {
- static void staticMethod() throws ClassNotFoundException, InstantiationException, IllegalAccessException {
- ((BaseMod) Loader.class.getClassLoader().loadClass("net.minecraft.src.uq.mod_uq").newInstance()).load();
- }
- void nonStaticMethod() throws ClassNotFoundException, InstantiationException, IllegalAccessException {
- ((BaseMod) this.getClass().getClassLoader().loadClass("net.minecraft.src.uq.mod_uq").newInstance()).load();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement