Removed ITextureProvider implementations
This commit is contained in:
parent
600849413f
commit
c1f189f931
20 changed files with 21 additions and 21 deletions
|
@ -31,7 +31,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockArchitect extends BlockContainer implements ITextureProvider {
|
public class BlockArchitect extends BlockContainer {
|
||||||
|
|
||||||
int blockTextureSides;
|
int blockTextureSides;
|
||||||
int blockTextureFront;
|
int blockTextureFront;
|
||||||
|
|
|
@ -25,7 +25,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockBlueprintLibrary extends BlockContainer implements ITextureProvider {
|
public class BlockBlueprintLibrary extends BlockContainer {
|
||||||
|
|
||||||
public BlockBlueprintLibrary(int i) {
|
public BlockBlueprintLibrary(int i) {
|
||||||
super(i, Material.wood);
|
super(i, Material.wood);
|
||||||
|
|
|
@ -30,7 +30,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockBuilder extends BlockContainer implements ITextureProvider {
|
public class BlockBuilder extends BlockContainer {
|
||||||
|
|
||||||
int blockTextureTop;
|
int blockTextureTop;
|
||||||
int blockTextureSide;
|
int blockTextureSide;
|
||||||
|
|
|
@ -27,7 +27,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockFiller extends BlockContainer implements ITextureProvider {
|
public class BlockFiller extends BlockContainer {
|
||||||
|
|
||||||
int textureSides;
|
int textureSides;
|
||||||
int textureTopOn;
|
int textureTopOn;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import net.minecraft.src.Vec3;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockMarker extends BlockContainer implements ITextureProvider {
|
public class BlockMarker extends BlockContainer {
|
||||||
|
|
||||||
public BlockMarker(int i) {
|
public BlockMarker(int i) {
|
||||||
super(i, Material.circuits);
|
super(i, Material.circuits);
|
||||||
|
|
|
@ -7,7 +7,7 @@ import net.minecraft.src.Material;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public abstract class BlockBuildCraft extends BlockContainer implements ITextureProvider {
|
public abstract class BlockBuildCraft extends BlockContainer {
|
||||||
|
|
||||||
protected static boolean keepInventory = false;
|
protected static boolean keepInventory = false;
|
||||||
protected Random rand;
|
protected Random rand;
|
||||||
|
|
|
@ -14,14 +14,14 @@ import net.minecraft.src.Item;
|
||||||
import net.minecraft.src.ItemStack;
|
import net.minecraft.src.ItemStack;
|
||||||
|
|
||||||
|
|
||||||
public class ItemBuildCraft extends Item implements ITextureProvider {
|
public class ItemBuildCraft extends Item {
|
||||||
|
|
||||||
public ItemBuildCraft(int i) {
|
public ItemBuildCraft(int i) {
|
||||||
super(i);
|
super(i);
|
||||||
setTextureFile(DefaultProps.TEXTURE_ITEMS);
|
setTextureFile(DefaultProps.TEXTURE_ITEMS);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override Client side only
|
@Override
|
||||||
public String getItemDisplayName(ItemStack itemstack) {
|
public String getItemDisplayName(ItemStack itemstack) {
|
||||||
return StringUtil.localize(getItemNameIS(itemstack));
|
return StringUtil.localize(getItemNameIS(itemstack));
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ import net.minecraft.src.Material;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockOilFlowing extends BlockFluid implements ITextureProvider, ILiquid {
|
public class BlockOilFlowing extends BlockFluid implements ILiquid {
|
||||||
|
|
||||||
public BlockOilFlowing(int i, Material material) {
|
public BlockOilFlowing(int i, Material material) {
|
||||||
super(i, material);
|
super(i, material);
|
||||||
|
|
|
@ -18,7 +18,7 @@ import net.minecraft.src.Material;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockOilStill extends BlockStationary implements ITextureProvider, ILiquid {
|
public class BlockOilStill extends BlockStationary implements ILiquid {
|
||||||
|
|
||||||
public BlockOilStill(int i, Material material) {
|
public BlockOilStill(int i, Material material) {
|
||||||
super(i, material);
|
super(i, material);
|
||||||
|
|
|
@ -16,7 +16,7 @@ import net.minecraft.src.Material;
|
||||||
import net.minecraft.src.TileEntity;
|
import net.minecraft.src.TileEntity;
|
||||||
|
|
||||||
|
|
||||||
public class BlockPollution extends BlockContainer implements ITextureProvider {
|
public class BlockPollution extends BlockContainer {
|
||||||
|
|
||||||
public BlockPollution(int i) {
|
public BlockPollution(int i) {
|
||||||
super(i, Material.air);
|
super(i, Material.air);
|
||||||
|
|
|
@ -16,7 +16,7 @@ import net.minecraft.src.ItemBucket;
|
||||||
import net.minecraft.src.ItemStack;
|
import net.minecraft.src.ItemStack;
|
||||||
|
|
||||||
|
|
||||||
public class ItemBucketOil extends ItemBucket implements ITextureProvider {
|
public class ItemBucketOil extends ItemBucket {
|
||||||
|
|
||||||
public ItemBucketOil(int i) {
|
public ItemBucketOil(int i) {
|
||||||
super(i, BuildCraftEnergy.oilMoving.blockID);
|
super(i, BuildCraftEnergy.oilMoving.blockID);
|
||||||
|
|
|
@ -27,7 +27,7 @@ import net.minecraft.src.Vec3;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockFrame extends Block implements IFramePipeConnection, ITextureProvider {
|
public class BlockFrame extends Block implements IFramePipeConnection {
|
||||||
|
|
||||||
public BlockFrame(int i) {
|
public BlockFrame(int i) {
|
||||||
super(i, Material.glass);
|
super(i, Material.glass);
|
||||||
|
|
|
@ -24,7 +24,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockMiningWell extends BlockMachineRoot implements ITextureProvider {
|
public class BlockMiningWell extends BlockMachineRoot {
|
||||||
|
|
||||||
int textureFront, textureSides, textureBack, textureTop;
|
int textureFront, textureSides, textureBack, textureTop;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ import net.minecraft.src.ItemStack;
|
||||||
import net.minecraft.src.Material;
|
import net.minecraft.src.Material;
|
||||||
|
|
||||||
|
|
||||||
public class BlockPlainPipe extends Block implements IFramePipeConnection, ITextureProvider {
|
public class BlockPlainPipe extends Block implements IFramePipeConnection {
|
||||||
|
|
||||||
public BlockPlainPipe(int i) {
|
public BlockPlainPipe(int i) {
|
||||||
super(i, Material.glass);
|
super(i, Material.glass);
|
||||||
|
|
|
@ -21,7 +21,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockPump extends BlockContainer implements ITextureProvider {
|
public class BlockPump extends BlockContainer {
|
||||||
|
|
||||||
public BlockPump(int i) {
|
public BlockPump(int i) {
|
||||||
super(i, Material.iron);
|
super(i, Material.iron);
|
||||||
|
|
|
@ -36,7 +36,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockQuarry extends BlockMachineRoot implements ITextureProvider {
|
public class BlockQuarry extends BlockMachineRoot {
|
||||||
|
|
||||||
int textureTop;
|
int textureTop;
|
||||||
int textureFront;
|
int textureFront;
|
||||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockTank extends BlockContainer implements ITextureProvider {
|
public class BlockTank extends BlockContainer {
|
||||||
|
|
||||||
public BlockTank(int i) {
|
public BlockTank(int i) {
|
||||||
super(i, Material.glass);
|
super(i, Material.glass);
|
||||||
|
|
|
@ -17,7 +17,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockAssemblyTable extends BlockContainer implements ITextureProvider {
|
public class BlockAssemblyTable extends BlockContainer {
|
||||||
|
|
||||||
public BlockAssemblyTable(int i) {
|
public BlockAssemblyTable(int i) {
|
||||||
super(i, Material.iron);
|
super(i, Material.iron);
|
||||||
|
|
|
@ -22,7 +22,7 @@ import net.minecraft.src.TileEntity;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockLaser extends BlockContainer implements ITextureProvider {
|
public class BlockLaser extends BlockContainer {
|
||||||
|
|
||||||
public BlockLaser(int i) {
|
public BlockLaser(int i) {
|
||||||
super(i, Material.iron);
|
super(i, Material.iron);
|
||||||
|
|
|
@ -35,7 +35,7 @@ import net.minecraft.src.Vec3;
|
||||||
import net.minecraft.src.World;
|
import net.minecraft.src.World;
|
||||||
|
|
||||||
|
|
||||||
public class BlockGenericPipe extends BlockContainer implements ITextureProvider {
|
public class BlockGenericPipe extends BlockContainer {
|
||||||
|
|
||||||
/** Defined subprograms **************************************************/
|
/** Defined subprograms **************************************************/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue