This commit is contained in:
Bob 2026-02-01 21:07:48 +01:00
parent efbc676765
commit 21cd47d063
3 changed files with 6 additions and 6 deletions

View File

@ -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_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 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_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");

View File

@ -44,9 +44,9 @@ public class ItemRenderLibraryDoors {
}
bindTexture(doorTex);
ResourceManager.pheo_fire_door.renderPart("Door");
ResourceManager.pheo_vault_door.renderPart("Door");
bindTexture(labelTex);
ResourceManager.pheo_fire_door.renderPart("Label");
ResourceManager.pheo_vault_door.renderPart("Label");
}
});

View File

@ -48,14 +48,14 @@ public class RenderVaultDoor implements IRenderDoors {
double roll = 360D * slide / circumference;
Minecraft.getMinecraft().getTextureManager().bindTexture(doorTex);
ResourceManager.pheo_fire_door.renderPart("Frame");
ResourceManager.pheo_vault_door.renderPart("Frame");
GL11.glTranslated(-pull, 0, 0);
GL11.glTranslated(0, 0, slide);
GL11.glTranslated(0, 2.5, 0);
GL11.glRotated(roll, 1, 0, 0);
GL11.glTranslated(0, -2.5, 0);
ResourceManager.pheo_fire_door.renderPart("Door");
ResourceManager.pheo_vault_door.renderPart("Door");
Minecraft.getMinecraft().getTextureManager().bindTexture(labelTex);
ResourceManager.pheo_fire_door.renderPart("Label");
ResourceManager.pheo_vault_door.renderPart("Label");
}
}