Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import dan200.turtle.api.TurtleAPI;
- import net.minecraft.src.ModLoader;
- import net.minecraft.src.forge.NetworkMod;
- public class mod_DetectingTurtles extends NetworkMod{
- @Override
- public String getVersion() {
- // TODO Auto-generated method stub
- return "1.2";
- }
- @Override
- public void load() {
- // TODO Auto-generated method stub
- ModLoader.setInGameHook(this, true, true);
- TurtleDetecting tDetecting = new TurtleDetecting();
- System.out.println(tDetecting);
- try {
- TurtleAPI.registerUpgrade(tDetecting);
- } catch (Exception e) {
- System.out.println("Failed to register Upgrade!");
- }
- System.out.println("Successfully registered the Upgrade!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement