Adding some missing items to the creative inventory
This commit is contained in:
parent
101d626c47
commit
bfff6e7a88
9 changed files with 18 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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" })
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue