Adding some missing items to the creative inventory

This commit is contained in:
Tinytimrob 2012-08-29 19:07:20 +00:00
parent 101d626c47
commit bfff6e7a88
9 changed files with 18 additions and 4 deletions

View file

@ -71,6 +71,7 @@ import buildcraft.transport.pipes.PipePowerWood;
import buildcraft.transport.pipes.PipeStructureCobblestone;
import net.minecraft.src.Block;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.Item;
import net.minecraft.src.ItemStack;
import net.minecraft.src.World;
@ -240,6 +241,7 @@ public class BuildCraftTransport {
pipeWaterproof = new ItemBuildCraft(Integer.parseInt(pipeWaterproofId.value)).setIconIndex(2 * 16 + 1);
pipeWaterproof.setItemName("pipeWaterproof");
pipeWaterproof.setTabToDisplayOn(CreativeTabs.tabMaterials);
LanguageRegistry.addName(pipeWaterproof, "Pipe Waterproof");
genericPipeBlock = new BlockGenericPipe(Integer.parseInt(genericPipeId.value));
GameRegistry.registerBlock(genericPipeBlock);

View file

@ -12,6 +12,7 @@ package buildcraft.builders;
import java.util.ArrayList;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.EntityLiving;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.IBlockAccess;
@ -41,6 +42,7 @@ public class BlockArchitect extends BlockContainer {
public BlockArchitect(int i) {
super(i, Material.iron);
setHardness(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
blockTextureSides = 3 * 16 + 0;
blockTextureTopNeg = 3 * 16 + 1;
blockTextureTopPos = 3 * 16 + 2;

View file

@ -12,6 +12,7 @@ package buildcraft.builders;
import java.util.ArrayList;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.IBlockAccess;
import net.minecraft.src.ItemStack;
@ -37,6 +38,7 @@ public class BlockFiller extends BlockContainer {
super(i, Material.iron);
setHardness(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
textureSides = 4 * 16 + 2;
textureTopOn = 4 * 16 + 0;

View file

@ -20,6 +20,7 @@ import buildcraft.core.Utils;
import net.minecraft.src.AxisAlignedBB;
import net.minecraft.src.Block;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.ItemStack;
import net.minecraft.src.Material;
@ -37,6 +38,7 @@ public class BlockMarker extends BlockContainer {
blockIndexInTexture = 3 * 16 + 9;
setLightValue(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
}
@SuppressWarnings({ "all" })

View file

@ -15,6 +15,7 @@ import buildcraft.core.DefaultProps;
import buildcraft.core.Utils;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.ItemStack;
import net.minecraft.src.Material;
import net.minecraft.src.TileEntity;
@ -25,9 +26,8 @@ public class BlockPump extends BlockContainer {
public BlockPump(int i) {
super(i, Material.iron);
setHardness(5F);
// TODO Auto-generated constructor stub
setCreativeTab(CreativeTabs.tabRedstone);
}
@Override

View file

@ -12,6 +12,7 @@ package buildcraft.factory;
import java.util.ArrayList;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.EntityLiving;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.Item;
@ -36,6 +37,7 @@ public class BlockRefinery extends BlockContainer {
super(i, Material.iron);
setHardness(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
}
@Override

View file

@ -19,6 +19,7 @@ import buildcraft.core.DefaultProps;
import buildcraft.core.Utils;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.IBlockAccess;
import net.minecraft.src.ItemStack;
@ -31,10 +32,9 @@ public class BlockTank extends BlockContainer {
public BlockTank(int i) {
super(i, Material.glass);
setBlockBounds(0.125F, 0F, 0.125F, 0.875F, 1F, 0.875F);
setHardness(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
}
@Override

View file

@ -3,6 +3,7 @@ package buildcraft.silicon;
import java.util.ArrayList;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.EntityPlayer;
import net.minecraft.src.ItemStack;
import net.minecraft.src.Material;
@ -24,6 +25,7 @@ public class BlockAssemblyTable extends BlockContainer {
setBlockBounds(0, 0, 0, 1, 9F / 16F, 1);
setHardness(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
}

View file

@ -15,6 +15,7 @@ import buildcraft.api.core.Orientations;
import buildcraft.core.DefaultProps;
import net.minecraft.src.BlockContainer;
import net.minecraft.src.CreativeTabs;
import net.minecraft.src.ItemStack;
import net.minecraft.src.Material;
import net.minecraft.src.TileEntity;
@ -26,6 +27,7 @@ public class BlockLaser extends BlockContainer {
public BlockLaser(int i) {
super(i, Material.iron);
setHardness(0.5F);
setCreativeTab(CreativeTabs.tabRedstone);
}
@Override