Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Having Error


thedevi
 Share

Recommended Posts

Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
 

this is my script if this helps

 

 

package thedevi.sonicscrewdriver;
import net.minecraft.item.Item;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
@Mod(modid = "ssd" , name = "Sonic Screw Driver", version =  "1.0")
public class SonicScrewDriver {
 
 public static Item ItemSonic;
 
 @EventHandler
 public void preInit(FMLPreInitializationEvent event) {
  ItemSonic = new ItemSonic().setUnloacalizedName("ItemSonic");
  GameRegistry.registerItem(ItemSonic, ItemSonic.getUnlocalizedName().substring(5));
 
 }

 @EventHandler
 public void init(FMLInitializationEvent event) {
  //Proxy, TileEntity, entity, GUI and Packet Registering
 }
 
 @EventHandler
 public void postInit(FMLInitializationEvent event) {
  
 }
}

 

 

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.