Resolved #297 - Moved resources into new creative tab
This commit is contained in:
parent
4cadc35deb
commit
a384b3e4c6
9 changed files with 15 additions and 6 deletions
|
@ -67,7 +67,7 @@ public class Archaic
|
||||||
@Mod.Metadata(ID)
|
@Mod.Metadata(ID)
|
||||||
public static ModMetadata metadata;
|
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 blockEngineeringTable;
|
||||||
public static Block blockCrate;
|
public static Block blockCrate;
|
||||||
|
|
|
@ -52,6 +52,12 @@ allprojects {
|
||||||
name = "forge"
|
name = "forge"
|
||||||
url = "http://files.minecraftforge.net/maven"
|
url = "http://files.minecraftforge.net/maven"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ivy {
|
||||||
|
name 'FMP'
|
||||||
|
artifactPattern "http://files.minecraftforge.net/[module]/[module]-dev-[revision].[ext]"
|
||||||
|
}
|
||||||
|
|
||||||
ivy {
|
ivy {
|
||||||
artifactPattern "http://www.chickenbones.craftsaddle.org/Files/New_Versions/1.6.4/[module]-dev%20[revision].[ext]"
|
artifactPattern "http://www.chickenbones.craftsaddle.org/Files/New_Versions/1.6.4/[module]-dev%20[revision].[ext]"
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class Electrical
|
||||||
@Mod.Metadata(ID)
|
@Mod.Metadata(ID)
|
||||||
public static ModMetadata metadata;
|
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
|
// Energy
|
||||||
public static Item itemWire;
|
public static Item itemWire;
|
||||||
|
|
|
@ -46,7 +46,7 @@ public class ItemWire extends JItemMultiPart
|
||||||
super(Settings.CONFIGURATION.get(Configuration.CATEGORY_ITEM, "wire", id).getInt(id));
|
super(Settings.CONFIGURATION.get(Configuration.CATEGORY_ITEM, "wire", id).getInt(id));
|
||||||
this.setUnlocalizedName(Reference.PREFIX + "wire");
|
this.setUnlocalizedName(Reference.PREFIX + "wire");
|
||||||
this.setTextureName(Reference.PREFIX + "wire");
|
this.setTextureName(Reference.PREFIX + "wire");
|
||||||
this.setCreativeTab(TabRI.CORE);
|
this.setCreativeTab(TabRI.DEFAULT);
|
||||||
this.setHasSubtypes(true);
|
this.setHasSubtypes(true);
|
||||||
this.setMaxDamage(0);
|
this.setMaxDamage(0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ public class Mechanical
|
||||||
@Mod.Metadata(ID)
|
@Mod.Metadata(ID)
|
||||||
public static ModMetadata metadata;
|
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
|
// Energy
|
||||||
public static Item itemHandCrank;
|
public static Item itemHandCrank;
|
||||||
|
|
|
@ -119,6 +119,7 @@ public class ResonantInduction
|
||||||
// Already registered with ContentRegistry
|
// Already registered with ContentRegistry
|
||||||
// GameRegistry.registerTileEntity(TileMaterial.class, "ri_material");
|
// GameRegistry.registerTileEntity(TileMaterial.class, "ri_material");
|
||||||
GameRegistry.registerTileEntity(TileFluidMixture.class, "ri_fluid_mixture");
|
GameRegistry.registerTileEntity(TileFluidMixture.class, "ri_fluid_mixture");
|
||||||
|
|
||||||
proxy.preInit();
|
proxy.preInit();
|
||||||
TabRI.ITEMSTACK = new ItemStack(blockMachinePart);
|
TabRI.ITEMSTACK = new ItemStack(blockMachinePart);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,8 @@ import net.minecraft.item.ItemStack;
|
||||||
*/
|
*/
|
||||||
public class TabRI extends CreativeTabs
|
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 static ItemStack ITEMSTACK;
|
||||||
|
|
||||||
public TabRI(int par1, String par2Str)
|
public TabRI(int par1, String par2Str)
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class ItemImprint extends Item
|
||||||
super(Settings.CONFIGURATION.getItem("imprint", id).getInt());
|
super(Settings.CONFIGURATION.getItem("imprint", id).getInt());
|
||||||
this.setUnlocalizedName(Reference.PREFIX + "imprint");
|
this.setUnlocalizedName(Reference.PREFIX + "imprint");
|
||||||
this.setTextureName(Reference.PREFIX + "imprint");
|
this.setTextureName(Reference.PREFIX + "imprint");
|
||||||
this.setCreativeTab(TabRI.CORE);
|
this.setCreativeTab(TabRI.DEFAULT);
|
||||||
this.setHasSubtypes(true);
|
this.setHasSubtypes(true);
|
||||||
this.maxStackSize = 1;
|
this.maxStackSize = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
# 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=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.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.
|
meta.resonantinduction.credits=Visit website for credits.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue