mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
Hello my friend
This commit is contained in:
parent
d2098e2b83
commit
fa2b0a2ca4
@ -24,12 +24,16 @@ public class RenderPylon extends RenderPylonBase implements IItemRendererProvide
|
||||
|
||||
TileEntityPylon pylon = (TileEntityPylon)tile;
|
||||
|
||||
if(tile.getBlockType() == ModBlocks.red_pylon_steel)
|
||||
bindTexture(ResourceManager.pylon_steel_tex);
|
||||
else
|
||||
if(tile.getBlockType() == ModBlocks.red_pylon)
|
||||
bindTexture(ResourceManager.pylon_tex);
|
||||
else
|
||||
bindTexture(ResourceManager.pylon_steel_tex);
|
||||
|
||||
if(tile.getBlockType() == ModBlocks.red_pylon )
|
||||
ResourceManager.pylon.renderPart("Pylon");
|
||||
else
|
||||
ResourceManager.pylon.renderPart("Pylon_steel");
|
||||
|
||||
ResourceManager.pylon.renderAll();
|
||||
GL11.glEnable(GL11.GL_CULL_FACE);
|
||||
|
||||
GL11.glPopMatrix();
|
||||
@ -62,13 +66,15 @@ public class RenderPylon extends RenderPylonBase implements IItemRendererProvide
|
||||
public void renderCommonWithStack(ItemStack stack) {
|
||||
GL11.glScaled(1, 1, 1);
|
||||
|
||||
if(stack.getItem() == Item.getItemFromBlock(ModBlocks.red_pylon_steel))
|
||||
bindTexture(ResourceManager.pylon_steel_tex);
|
||||
else
|
||||
if(stack.getItem() == Item.getItemFromBlock(ModBlocks.red_pylon))
|
||||
bindTexture(ResourceManager.pylon_tex);
|
||||
else
|
||||
bindTexture(ResourceManager.pylon_steel_tex);
|
||||
|
||||
ResourceManager.pylon.renderAll();
|
||||
GL11.glShadeModel(GL11.GL_FLAT);
|
||||
if(stack.getItem() == Item.getItemFromBlock(ModBlocks.red_pylon) )
|
||||
ResourceManager.pylon.renderPart("Pylon");
|
||||
else
|
||||
ResourceManager.pylon.renderPart("Pylon_steel");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -6220,7 +6220,7 @@ tile.red_cable_paintable.desc=Right-click with a solid block to set a paint$Pain
|
||||
tile.red_connector.name=Electricity Connector
|
||||
tile.red_connector_super.name=Heavy Duty Electricity Connector
|
||||
tile.red_pylon.name=Wooden Electricity Pylon
|
||||
tile.red_pylon_steel.name=Wooden Electricity Pylon
|
||||
tile.red_pylon_steel.name=Steel Electricity Pylon
|
||||
tile.red_pylon_large.name=Large Electricity Pylon
|
||||
tile.red_pylon_medium_steel.name=Medium Steel Electricity Pylon
|
||||
tile.red_pylon_medium_steel_transformer.name=Medium Steel Electricity Pylon with Transformer
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.4 KiB |
Loading…
x
Reference in New Issue
Block a user