Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package 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.FMLPostInitializationEvent;
- import cpw.mods.fml.common.event.FMLPreInitializationEvent;
- import cpw.mods.fml.common.registry.GameRegistry;
- @Mod(modid = "ss", name = "Sonic Screwdriver", version = "1.0")
- public class Sonic_screwdriver {
- public static Item itemsonicscrewdriver;
- @EventHandler
- public void preInit(FMLPreInitializationEvent event) {
- itemsonicscrewdriver = new ItemSonicScrewdriver().setUnlocalizedName("ItemsonicScrewdriver").setTextureName("ss:itemsonicscrewdriver");
- GameRegistry.registerItem(itemsonicscrewdriver, itemsonicscrewdriver.getUnlocalizedName().substring(5)); {
- }
- }
- @EventHandler
- public void init(FMLInitializationEvent event) {
- }
- @EventHandler
- public void PostInit(FMLPostInitializationEvent event) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement