Merge branch 'HbmMods:master' into master
@ -3077,7 +3077,7 @@ public class ModItems {
|
||||
circuit_tantalium = new ItemCustomLore().setRarity(EnumRarity.uncommon).setUnlocalizedName("circuit_tantalium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":circuit_tantalium");
|
||||
circuit_star_piece = (ItemEnumMulti) new ItemEnumMulti(ScrapType.class, true, true).setUnlocalizedName("circuit_star_piece").setCreativeTab(null);
|
||||
circuit_star_component = (ItemEnumMulti) new ItemCircuitStarComponent().setUnlocalizedName("circuit_star_component").setCreativeTab(null);
|
||||
circuit_star = new ItemCustomLore().setRarity(EnumRarity.uncommon).setUnlocalizedName("circuit_star").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":circuit_star");
|
||||
circuit_star = new ItemCustomLore().setRarity(EnumRarity.uncommon).setUnlocalizedName("circuit_star").setCreativeTab(null).setTextureName(RefStrings.MODID + ":circuit_star");
|
||||
circuit_targeting_tier1 = new Item().setUnlocalizedName("circuit_targeting_tier1").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":circuit_targeting_tier1");
|
||||
circuit_targeting_tier2 = new Item().setUnlocalizedName("circuit_targeting_tier2").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":circuit_targeting_tier2");
|
||||
circuit_targeting_tier3 = new Item().setUnlocalizedName("circuit_targeting_tier3").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":circuit_targeting_tier3");
|
||||
|
||||
@ -121,6 +121,7 @@ public class ResourceManager {
|
||||
|
||||
//Centrifuge
|
||||
public static final IModelCustom centrifuge_new = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/centrifuge_new.obj"));
|
||||
public static final IModelCustom gascent = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/machines/gascent.obj"));
|
||||
public static final IModelCustom silex = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/machines/silex.obj"));
|
||||
public static final IModelCustom fel = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/machines/fel.obj"));
|
||||
|
||||
@ -401,7 +402,7 @@ public class ResourceManager {
|
||||
|
||||
//Centrifuge
|
||||
public static final ResourceLocation centrifuge_new_tex = new ResourceLocation(RefStrings.MODID, "textures/models/centrifuge_new.png");
|
||||
public static final ResourceLocation centrifuge_gas_tex = new ResourceLocation(RefStrings.MODID, "textures/models/centrifuge_gas.png");
|
||||
public static final ResourceLocation gascent_tex = new ResourceLocation(RefStrings.MODID, "textures/models/machines/gascent.png");
|
||||
public static final ResourceLocation fel_tex = new ResourceLocation(RefStrings.MODID, "textures/models/machines/fel.png");
|
||||
public static final ResourceLocation silex_tex = new ResourceLocation(RefStrings.MODID, "textures/models/machines/silex.png");
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ public class ItemRenderLibrary {
|
||||
GL11.glScaled(4.5, 4.5, 4.5);
|
||||
}
|
||||
public void renderCommon() {
|
||||
bindTexture(ResourceManager.centrifuge_gas_tex); ResourceManager.centrifuge_new.renderAll();
|
||||
bindTexture(ResourceManager.gascent_tex); ResourceManager.gascent.renderPart("Centrifuge");
|
||||
}});
|
||||
|
||||
renderers.put(Item.getItemFromBlock(ModBlocks.iter), new ItemRenderBase() {
|
||||
|
||||
@ -11,25 +11,30 @@ import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public class RenderCentrifuge extends TileEntitySpecialRenderer {
|
||||
|
||||
@Override
|
||||
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslated(x + 0.5D, y, z + 0.5D);
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
switch(tileEntity.getBlockMetadata() - 10) {
|
||||
@Override
|
||||
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) {
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslated(x + 0.5D, y, z + 0.5D);
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
|
||||
switch(tileEntity.getBlockMetadata() - 10) { //unless vær updated the regular centrifuge too, this is now broken
|
||||
case 2: GL11.glRotatef(90, 0F, 1F, 0F); break;
|
||||
case 4: GL11.glRotatef(180, 0F, 1F, 0F); break;
|
||||
case 3: GL11.glRotatef(270, 0F, 1F, 0F); break;
|
||||
case 5: GL11.glRotatef(0, 0F, 1F, 0F); break;
|
||||
}
|
||||
|
||||
if(tileEntity instanceof TileEntityMachineCentrifuge)
|
||||
if(tileEntity instanceof TileEntityMachineCentrifuge) {
|
||||
bindTexture(ResourceManager.centrifuge_new_tex);
|
||||
if(tileEntity instanceof TileEntityMachineGasCent)
|
||||
bindTexture(ResourceManager.centrifuge_gas_tex);
|
||||
ResourceManager.centrifuge_new.renderAll();
|
||||
ResourceManager.centrifuge_new.renderAll();
|
||||
}
|
||||
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
if(tileEntity instanceof TileEntityMachineGasCent) {
|
||||
bindTexture(ResourceManager.gascent_tex);
|
||||
ResourceManager.gascent.renderPart("Centrifuge");
|
||||
ResourceManager.gascent.renderPart("Flag");
|
||||
}
|
||||
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
BIN
src/main/resources/assets/hbm/textures/gui/fluids/acid.png
Normal file
|
After Width: | Height: | Size: 341 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/amat.png
Normal file
|
After Width: | Height: | Size: 687 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/aschrab.png
Normal file
|
After Width: | Height: | Size: 763 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/balefire.png
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/biofuel.png
Normal file
|
After Width: | Height: | Size: 411 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/biogas.png
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/bitumen.png
Normal file
|
After Width: | Height: | Size: 558 B |
|
After Width: | Height: | Size: 287 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/coolant.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/cryogel.png
Normal file
|
After Width: | Height: | Size: 547 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/death.png
Normal file
|
After Width: | Height: | Size: 725 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/deuterium.png
Normal file
|
After Width: | Height: | Size: 310 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/ethanol.png
Normal file
|
After Width: | Height: | Size: 648 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/fracksol.png
Normal file
|
After Width: | Height: | Size: 806 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/gas.png
Normal file
|
After Width: | Height: | Size: 530 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/gasoline.png
Normal file
|
After Width: | Height: | Size: 670 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/heatingoil.png
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/heavyoil.png
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/heavywater.png
Normal file
|
After Width: | Height: | Size: 542 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/helium3.png
Normal file
|
After Width: | Height: | Size: 575 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/hotoil.png
Normal file
|
After Width: | Height: | Size: 567 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/hotsteam.png
Normal file
|
After Width: | Height: | Size: 501 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/hydrogen.png
Normal file
|
After Width: | Height: | Size: 329 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/kerosene.png
Normal file
|
After Width: | Height: | Size: 395 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/lava.png
Normal file
|
After Width: | Height: | Size: 807 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/lightoil.png
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/lpg.png
Normal file
|
After Width: | Height: | Size: 610 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/lubricant.png
Normal file
|
After Width: | Height: | Size: 340 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/mercury.png
Normal file
|
After Width: | Height: | Size: 595 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/naphtha.png
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/nitan.png
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/none.png
Normal file
|
After Width: | Height: | Size: 123 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/oil.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/oxygen.png
Normal file
|
After Width: | Height: | Size: 328 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/pain.png
Normal file
|
After Width: | Height: | Size: 688 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/petroil.png
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/petroleum.png
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/plasma_bf.png
Normal file
|
After Width: | Height: | Size: 508 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/plasma_dh3.png
Normal file
|
After Width: | Height: | Size: 476 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/plasma_dt.png
Normal file
|
After Width: | Height: | Size: 503 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/plasma_hd.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/plasma_ht.png
Normal file
|
After Width: | Height: | Size: 497 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/plasma_xm.png
Normal file
|
After Width: | Height: | Size: 473 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/puf6.png
Normal file
|
After Width: | Height: | Size: 782 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/reclaimed.png
Normal file
|
After Width: | Height: | Size: 345 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/sas3.png
Normal file
|
After Width: | Height: | Size: 683 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/schrabidic.png
Normal file
|
After Width: | Height: | Size: 523 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/smear.png
Normal file
|
After Width: | Height: | Size: 529 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/spentsteam.png
Normal file
|
After Width: | Height: | Size: 438 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/steam.png
Normal file
|
After Width: | Height: | Size: 375 B |
|
After Width: | Height: | Size: 562 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/tritium.png
Normal file
|
After Width: | Height: | Size: 311 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/uf6.png
Normal file
|
After Width: | Height: | Size: 791 B |
|
After Width: | Height: | Size: 484 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/wastefluid.png
Normal file
|
After Width: | Height: | Size: 791 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/wastegas.png
Normal file
|
After Width: | Height: | Size: 622 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/water.png
Normal file
|
After Width: | Height: | Size: 452 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/watz.png
Normal file
|
After Width: | Height: | Size: 790 B |
BIN
src/main/resources/assets/hbm/textures/gui/fluids/xenon.png
Normal file
|
After Width: | Height: | Size: 330 B |