Resolved #297 - Moved resources into new creative tab

This commit is contained in:
Calclavia 2014-02-26 14:35:52 +08:00
parent 4cadc35deb
commit a384b3e4c6
9 changed files with 15 additions and 6 deletions

View file

@ -67,7 +67,7 @@ public class Archaic
@Mod.Metadata(ID)
public static ModMetadata metadata;
public static final ContentRegistry contentRegistry = new ContentRegistry(Settings.CONFIGURATION, Settings.idManager, ID).setPrefix(Reference.PREFIX).setTab(TabRI.CORE);
public static final ContentRegistry contentRegistry = new ContentRegistry(Settings.CONFIGURATION, Settings.idManager, ID).setPrefix(Reference.PREFIX).setTab(TabRI.DEFAULT);
public static Block blockEngineeringTable;
public static Block blockCrate;

View file

@ -52,6 +52,12 @@ allprojects {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
ivy {
name 'FMP'
artifactPattern "http://files.minecraftforge.net/[module]/[module]-dev-[revision].[ext]"
}
ivy {
artifactPattern "http://www.chickenbones.craftsaddle.org/Files/New_Versions/1.6.4/[module]-dev%20[revision].[ext]"
}

View file

@ -72,7 +72,7 @@ public class Electrical
@Mod.Metadata(ID)
public static ModMetadata metadata;
public static final ContentRegistry contentRegistry = new ContentRegistry(Settings.CONFIGURATION, Settings.idManager, ID).setPrefix(Reference.PREFIX).setTab(TabRI.CORE);
public static final ContentRegistry contentRegistry = new ContentRegistry(Settings.CONFIGURATION, Settings.idManager, ID).setPrefix(Reference.PREFIX).setTab(TabRI.DEFAULT);
// Energy
public static Item itemWire;

View file

@ -46,7 +46,7 @@ public class ItemWire extends JItemMultiPart
super(Settings.CONFIGURATION.get(Configuration.CATEGORY_ITEM, "wire", id).getInt(id));
this.setUnlocalizedName(Reference.PREFIX + "wire");
this.setTextureName(Reference.PREFIX + "wire");
this.setCreativeTab(TabRI.CORE);
this.setCreativeTab(TabRI.DEFAULT);
this.setHasSubtypes(true);
this.setMaxDamage(0);
}

View file

@ -80,7 +80,7 @@ public class Mechanical
@Mod.Metadata(ID)
public static ModMetadata metadata;
public static final ContentRegistry contentRegistry = new ContentRegistry(Settings.CONFIGURATION, Settings.idManager, ID).setPrefix(Reference.PREFIX).setTab(TabRI.CORE);
public static final ContentRegistry contentRegistry = new ContentRegistry(Settings.CONFIGURATION, Settings.idManager, ID).setPrefix(Reference.PREFIX).setTab(TabRI.DEFAULT);
// Energy
public static Item itemHandCrank;

View file

@ -119,6 +119,7 @@ public class ResonantInduction
// Already registered with ContentRegistry
// GameRegistry.registerTileEntity(TileMaterial.class, "ri_material");
GameRegistry.registerTileEntity(TileFluidMixture.class, "ri_fluid_mixture");
proxy.preInit();
TabRI.ITEMSTACK = new ItemStack(blockMachinePart);
}

View file

@ -12,7 +12,8 @@ import net.minecraft.item.ItemStack;
*/
public class TabRI extends CreativeTabs
{
public static final TabRI CORE = new TabRI(CreativeTabs.getNextID(), Reference.DOMAIN);
public static final TabRI DEFAULT = new TabRI(CreativeTabs.getNextID(), Reference.DOMAIN);
public static final TabRI CORE = new TabRI(CreativeTabs.getNextID(), Reference.DOMAIN + ".core");
public static ItemStack ITEMSTACK;
public TabRI(int par1, String par2Str)

View file

@ -24,7 +24,7 @@ public class ItemImprint extends Item
super(Settings.CONFIGURATION.getItem("imprint", id).getInt());
this.setUnlocalizedName(Reference.PREFIX + "imprint");
this.setTextureName(Reference.PREFIX + "imprint");
this.setCreativeTab(TabRI.CORE);
this.setCreativeTab(TabRI.DEFAULT);
this.setHasSubtypes(true);
this.maxStackSize = 1;
}

View file

@ -4,6 +4,7 @@
# A % followed by a number is used for colors. The exact usage will be outlined in the comment above the localization.
itemGroup.resonantinduction=Resonant Induction
itemGroup.resonantinduction.core=Resonant Induction Core
meta.resonantinduction.description=Resonant Induction is a Minecraft mod focusing on the manipulation of electricity and wireless technology. Ever wanted blazing electrical shocks flying off your evil lairs? You've came to the right place!
meta.resonantinduction.credits=Visit website for credits.