mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-21 21:42:28 +00:00
FUCK
This commit is contained in:
parent
efbc676765
commit
21cd47d063
@ -334,7 +334,7 @@ public class ResourceManager {
|
|||||||
public static final ResourceLocation pheo_fire_door_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/fire_door.png");
|
public static final ResourceLocation pheo_fire_door_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/fire_door.png");
|
||||||
public static final ResourceLocation pheo_fire_door_black_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/fire_door_black.png");
|
public static final ResourceLocation pheo_fire_door_black_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/fire_door_black.png");
|
||||||
public static final ResourceLocation pheo_fire_door_orange_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/fire_door_orange.png");
|
public static final ResourceLocation pheo_fire_door_orange_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/fire_door_orange.png");
|
||||||
public static IModelCustomNamed pheo_fire_door = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/pheodoors/vault_door.obj")).asVBO();
|
public static IModelCustomNamed pheo_fire_door = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/pheodoors/fire_door.obj")).asVBO();
|
||||||
public static final ResourceLocation pheo_airlock_door_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/airlock_door.png");
|
public static final ResourceLocation pheo_airlock_door_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/airlock_door.png");
|
||||||
public static final ResourceLocation pheo_airlock_door_clean_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/airlock_door_clean.png");
|
public static final ResourceLocation pheo_airlock_door_clean_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/airlock_door_clean.png");
|
||||||
public static final ResourceLocation pheo_airlock_door_green_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/airlock_door_green.png");
|
public static final ResourceLocation pheo_airlock_door_green_tex = new ResourceLocation(RefStrings.MODID, "textures/models/pheodoors/airlock_door_green.png");
|
||||||
|
|||||||
@ -44,9 +44,9 @@ public class ItemRenderLibraryDoors {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bindTexture(doorTex);
|
bindTexture(doorTex);
|
||||||
ResourceManager.pheo_fire_door.renderPart("Door");
|
ResourceManager.pheo_vault_door.renderPart("Door");
|
||||||
bindTexture(labelTex);
|
bindTexture(labelTex);
|
||||||
ResourceManager.pheo_fire_door.renderPart("Label");
|
ResourceManager.pheo_vault_door.renderPart("Label");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -48,14 +48,14 @@ public class RenderVaultDoor implements IRenderDoors {
|
|||||||
double roll = 360D * slide / circumference;
|
double roll = 360D * slide / circumference;
|
||||||
|
|
||||||
Minecraft.getMinecraft().getTextureManager().bindTexture(doorTex);
|
Minecraft.getMinecraft().getTextureManager().bindTexture(doorTex);
|
||||||
ResourceManager.pheo_fire_door.renderPart("Frame");
|
ResourceManager.pheo_vault_door.renderPart("Frame");
|
||||||
GL11.glTranslated(-pull, 0, 0);
|
GL11.glTranslated(-pull, 0, 0);
|
||||||
GL11.glTranslated(0, 0, slide);
|
GL11.glTranslated(0, 0, slide);
|
||||||
GL11.glTranslated(0, 2.5, 0);
|
GL11.glTranslated(0, 2.5, 0);
|
||||||
GL11.glRotated(roll, 1, 0, 0);
|
GL11.glRotated(roll, 1, 0, 0);
|
||||||
GL11.glTranslated(0, -2.5, 0);
|
GL11.glTranslated(0, -2.5, 0);
|
||||||
ResourceManager.pheo_fire_door.renderPart("Door");
|
ResourceManager.pheo_vault_door.renderPart("Door");
|
||||||
Minecraft.getMinecraft().getTextureManager().bindTexture(labelTex);
|
Minecraft.getMinecraft().getTextureManager().bindTexture(labelTex);
|
||||||
ResourceManager.pheo_fire_door.renderPart("Label");
|
ResourceManager.pheo_vault_door.renderPart("Label");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user