Created
December 22, 2013 09:55
-
-
Save anonymous/8080448 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Dewie.BSModPack; //Package directory | |
/* | |
* Basic importing | |
*/ | |
import net.minecraft.block.Block; | |
import net.minecraft.item.EnumToolMaterial; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemFood; | |
import net.minecraft.item.ItemStack; | |
import net.minecraftforge.common.EnumHelper; | |
import net.minecraftforge.common.MinecraftForge; | |
import cpw.mods.fml.common.Mod; | |
import cpw.mods.fml.common.Mod.EventHandler; | |
import cpw.mods.fml.common.Mod.Init; | |
import cpw.mods.fml.common.event.FMLInitializationEvent; | |
import cpw.mods.fml.common.network.NetworkMod; | |
import cpw.mods.fml.common.registry.GameRegistry; | |
import cpw.mods.fml.common.registry.LanguageRegistry; | |
/* | |
* Basic needed forge stuff | |
*/ | |
@Mod(modid="BSModPack",name="Bracket Studios ModPack",version="v1") | |
@NetworkMod(clientSideRequired=true,serverSideRequired=false) | |
public class BSModPack { | |
/* | |
* ToolMaterial | |
*/ | |
//Telling forge that we are creating these items | |
public static Item amethyst; | |
public static Item record_Aphotic; | |
//tools | |
//Declaring Init | |
@Init | |
public void load(FMLInitializationEvent event){ | |
// define items | |
amethyst = new BSItems(2000).setUnlocalizedName("amethyst"); | |
record_Aphotic = new BSItemRecord(2012, "Aphotic").setUnlocalizedName("record").setTextureName("record_Aphotic"); | |
// define blocks | |
//music disc | |
//adding names | |
//items | |
LanguageRegistry.addName(amethyst, "Amethyst"); | |
LanguageRegistry.addName(record_Aphotic, "Music Disc"); | |
//blocks | |
//crafting | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment