diff --git a/src/main/java/train/common/tile/TileBridgePillar.java b/src/main/java/train/common/tile/TileBridgePillar.java index f4cdb15f7..b8725f065 100644 --- a/src/main/java/train/common/tile/TileBridgePillar.java +++ b/src/main/java/train/common/tile/TileBridgePillar.java @@ -31,9 +31,9 @@ public boolean canUpdate() return false; } - @SideOnly(Side.CLIENT) + static final train.client.render.models.blocks.ModelBridgePillar modelBridgePillar = new train.client.render.models.blocks.ModelBridgePillar(); - @SideOnly(Side.CLIENT) + static final ResourceLocation texture = new ResourceLocation(Info.modID, Info.modelTexPrefix + "bridgePillar.png"); @Override diff --git a/src/main/java/train/common/tile/TileCrafterTierI.java b/src/main/java/train/common/tile/TileCrafterTierI.java index 613569d28..bf6693f5e 100644 --- a/src/main/java/train/common/tile/TileCrafterTierI.java +++ b/src/main/java/train/common/tile/TileCrafterTierI.java @@ -309,7 +309,7 @@ public ResourceLocation getTexture(int x, int y, int z){ return texture; } - @SideOnly(Side.CLIENT) + static final ResourceLocation texture = new ResourceLocation(Info.modID, "textures/blocks/assembly_1.png"); } \ No newline at end of file diff --git a/src/main/java/train/common/tile/TileCrafterTierII.java b/src/main/java/train/common/tile/TileCrafterTierII.java index 7e6462f18..653d3b5cd 100644 --- a/src/main/java/train/common/tile/TileCrafterTierII.java +++ b/src/main/java/train/common/tile/TileCrafterTierII.java @@ -305,7 +305,7 @@ public ResourceLocation getTexture(int x, int y, int z){ return texture; } - @SideOnly(Side.CLIENT) + static final ResourceLocation texture = new ResourceLocation(Info.modID, "textures/blocks/assembly_2.png"); } \ No newline at end of file diff --git a/src/main/java/train/common/tile/TileCrafterTierIII.java b/src/main/java/train/common/tile/TileCrafterTierIII.java index 74c331c13..fdc050a5b 100644 --- a/src/main/java/train/common/tile/TileCrafterTierIII.java +++ b/src/main/java/train/common/tile/TileCrafterTierIII.java @@ -281,7 +281,7 @@ public ResourceLocation getTexture(int x, int y, int z){ return texture; } - @SideOnly(Side.CLIENT) + static final ResourceLocation texture = new ResourceLocation(Info.modID, "textures/blocks/assembly_3.png"); } \ No newline at end of file diff --git a/src/main/java/train/common/tile/TileEntityDistil.java b/src/main/java/train/common/tile/TileEntityDistil.java index 999dc8f40..bba977bdf 100644 --- a/src/main/java/train/common/tile/TileEntityDistil.java +++ b/src/main/java/train/common/tile/TileEntityDistil.java @@ -398,10 +398,10 @@ public ResourceLocation getTexture(int x, int y, int z){ textureOn:textureOff; } - @SideOnly(Side.CLIENT) + static final ResourceLocation textureOn = new ResourceLocation(Info.modID, "textures/blocks/distil_on.png"); - @SideOnly(Side.CLIENT) + static final ResourceLocation textureOff = new ResourceLocation(Info.modID, "textures/blocks/distil_off.png"); }