-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up the last of the missing texture messages
- Loading branch information
1 parent
7a64120
commit 0783e0c
Showing
5 changed files
with
54 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...ain/java/net/shadowmage/ancientwarfare/automation/block/BlockTorqueGeneratorSterling.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package net.shadowmage.ancientwarfare.automation.block; | ||
|
||
import net.minecraft.client.renderer.texture.IIconRegister; | ||
import net.minecraft.init.Blocks; | ||
import net.minecraft.tileentity.TileEntity; | ||
import net.minecraft.util.IIcon; | ||
import net.minecraft.world.World; | ||
import net.shadowmage.ancientwarfare.automation.render.RenderSterlingEngine; | ||
import net.shadowmage.ancientwarfare.automation.tile.torque.TileTorqueGeneratorSterling; | ||
|
||
public class BlockTorqueGeneratorSterling extends BlockTorqueGenerator | ||
{ | ||
|
||
public BlockTorqueGeneratorSterling(String regName) | ||
{ | ||
super(regName); | ||
} | ||
|
||
@Override | ||
public TileEntity createTileEntity(World world, int metadata) | ||
{ | ||
return new TileTorqueGeneratorSterling(); | ||
} | ||
@Override | ||
public boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) {return false;}; | ||
@Override | ||
public boolean isOpaqueCube() {return false;}; | ||
@Override | ||
public boolean isNormalCube() {return false;}; | ||
@Override | ||
public int getRenderType() {return RenderSterlingEngine.renderID;}; | ||
|
||
@Override | ||
public void registerBlockIcons(IIconRegister register) | ||
{ | ||
} | ||
|
||
@Override | ||
public IIcon getIcon(int side, int meta) | ||
{ | ||
return Blocks.iron_block.getIcon(side, meta); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes