SHARE
TWEET

Classe Principal

a guest Dec 4th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Class principal
  2.  
  3.  
  4.   public static boolean zoom;
  5.   public static Item ItemZoomer;
  6.  
  7.   @Mod.EventHandler
  8.   public void preinit(FMLPreInitializationEvent paramFMLPreInitializationEvent)
  9.   {
  10.       if(paramFMLPreInitializationEvent.getSide().isClient())
  11.   {
  12.  
  13.           FMLCommonHandler.instance().bus().register(new TickClientHandlerEvent());
  14.            
  15.           MinecraftForge.EVENT_BUS.register(new TickClientHandlerEvent());
  16.          
  17.       if(!Minecraft.getMinecraft().mcDataDir.getAbsolutePath().contains("AltisCube") && !Minecraft.getMinecraft().mcDataDir.equals(new File(".")))
  18.       {
  19.            Throwables.propagate(new Exception("Launcher non autorisĂ©"));
  20.            
  21.       }
  22.   }
  23.  
  24.   ItemZoomer = new ItemZoomer().setUnlocalizedName("ItemZoomer").setTextureName("altiscube:jumelle").setCreativeTab(AltiscubeItem).setMaxStackSize(1);
  25.       GameRegistry.registerItem(ItemZoomer, "ItemZoomer");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top