diff --git a/src/main/java/cr0s/warpdrive/block/collection/BlockMiningLaser.java b/src/main/java/cr0s/warpdrive/block/collection/BlockMiningLaser.java index 1c7e2629..954060fb 100644 --- a/src/main/java/cr0s/warpdrive/block/collection/BlockMiningLaser.java +++ b/src/main/java/cr0s/warpdrive/block/collection/BlockMiningLaser.java @@ -22,6 +22,7 @@ public class BlockMiningLaser extends BlockContainer { public final static int ICON_SCANNINGLOWPOWER = 3; public final static int ICON_SCANNINGPOWERED = 4; private final static int ICON_TOP = 5; + private final static int ICON_BOTTOM = 6; public BlockMiningLaser() { super(Material.rock); @@ -34,13 +35,13 @@ public class BlockMiningLaser extends BlockContainer { @Override public void registerBlockIcons(IIconRegister par1IconRegister) { iconBuffer = new IIcon[16]; - // Solid textures - iconBuffer[ICON_TOP ] = par1IconRegister.registerIcon("warpdrive:laserMediumTopBottom"); - iconBuffer[ICON_IDLE ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaser_idle"); - iconBuffer[ICON_MININGLOWPOWER ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaser_miningLowPower"); - iconBuffer[ICON_MININGPOWERED ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaser_miningPowered"); - iconBuffer[ICON_SCANNINGLOWPOWER] = par1IconRegister.registerIcon("warpdrive:collection/miningLaser_scanningLowPower"); - iconBuffer[ICON_SCANNINGPOWERED ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaser_scanningPowered"); + iconBuffer[ICON_IDLE ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserSide_idle"); + iconBuffer[ICON_MININGLOWPOWER ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserSide_miningLowPower"); + iconBuffer[ICON_MININGPOWERED ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserSide_miningPowered"); + iconBuffer[ICON_SCANNINGLOWPOWER] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserSide_scanningLowPower"); + iconBuffer[ICON_SCANNINGPOWERED ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserSide_scanningPowered"); + iconBuffer[ICON_TOP ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserTop"); + iconBuffer[ICON_BOTTOM ] = par1IconRegister.registerIcon("warpdrive:collection/miningLaserBottom"); } @Override @@ -50,9 +51,8 @@ public class BlockMiningLaser extends BlockContainer { } if (metadata < iconBuffer.length) { return iconBuffer[metadata]; - } else { - return null; } + return null; } @Override diff --git a/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_idle.png b/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_idle.png similarity index 100% rename from src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_idle.png rename to src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_idle.png diff --git a/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_miningLowPower.png b/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_miningLowPower.png similarity index 100% rename from src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_miningLowPower.png rename to src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_miningLowPower.png diff --git a/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_miningPowered.png b/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_miningPowered.png similarity index 100% rename from src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_miningPowered.png rename to src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_miningPowered.png diff --git a/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_scanningLowPower.png b/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_scanningLowPower.png similarity index 100% rename from src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_scanningLowPower.png rename to src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_scanningLowPower.png diff --git a/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_scanningPowered.png b/src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_scanningPowered.png similarity index 100% rename from src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaser_scanningPowered.png rename to src/main/resources/assets/warpdrive/textures/blocks/collection/miningLaserSide_scanningPowered.png