Fixed a lot of texture references
|
@ -27,7 +27,6 @@ public class Reference
|
||||||
public static final String BLOCK_TEXTURE_DIRECTORY = TEXTURE_DIRECTORY + "blocks/";
|
public static final String BLOCK_TEXTURE_DIRECTORY = TEXTURE_DIRECTORY + "blocks/";
|
||||||
public static final String ITEM_TEXTURE_DIRECTORY = TEXTURE_DIRECTORY + "items/";
|
public static final String ITEM_TEXTURE_DIRECTORY = TEXTURE_DIRECTORY + "items/";
|
||||||
public static final String MODEL_PATH = "models/";
|
public static final String MODEL_PATH = "models/";
|
||||||
public static final String MODEL_TEXTURE_DIRECTORY = TEXTURE_DIRECTORY + MODEL_PATH;
|
|
||||||
public static final String MODEL_DIRECTORY = DIRECTORY + MODEL_PATH;
|
public static final String MODEL_DIRECTORY = DIRECTORY + MODEL_PATH;
|
||||||
public static final String LANGUAGE_DIRECTORY = DIRECTORY + "languages/";
|
public static final String LANGUAGE_DIRECTORY = DIRECTORY + "languages/";
|
||||||
public static final String[] LANGUAGES = new String[] { "en_US", "de_DE" };
|
public static final String[] LANGUAGES = new String[] { "en_US", "de_DE" };
|
||||||
|
|
|
@ -18,8 +18,8 @@ public class RenderLevitator extends TileEntitySpecialRenderer implements ICusto
|
||||||
{
|
{
|
||||||
public static final ModelEMContractor MODEL = new ModelEMContractor(false);
|
public static final ModelEMContractor MODEL = new ModelEMContractor(false);
|
||||||
public static final ModelEMContractor MODEL_SPIN = new ModelEMContractor(true);
|
public static final ModelEMContractor MODEL_SPIN = new ModelEMContractor(true);
|
||||||
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "em_contractor.png");
|
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "em_contractor.png");
|
||||||
public static final ResourceLocation TEXTURE_PUSH = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "em_contractor_push.png");
|
public static final ResourceLocation TEXTURE_PUSH = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "em_contractor_push.png");
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void renderTileEntityAt(TileEntity t, double x, double y, double z, float f)
|
public void renderTileEntityAt(TileEntity t, double x, double y, double z, float f)
|
||||||
|
|
|
@ -24,7 +24,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
public class RenderMultimeter
|
public class RenderMultimeter
|
||||||
{
|
{
|
||||||
public static final ModelMultimeter MODEL = new ModelMultimeter();
|
public static final ModelMultimeter MODEL = new ModelMultimeter();
|
||||||
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "multimeter.png");
|
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "multimeter.png");
|
||||||
|
|
||||||
@SuppressWarnings("incomplete-switch")
|
@SuppressWarnings("incomplete-switch")
|
||||||
public static void render(PartMultimeter tileEntity, double x, double y, double z)
|
public static void render(PartMultimeter tileEntity, double x, double y, double z)
|
||||||
|
|
|
@ -41,7 +41,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public class FXElectricBolt extends EntityFX
|
public class FXElectricBolt extends EntityFX
|
||||||
{
|
{
|
||||||
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "fadedSphere.png");
|
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "fadedSphere.png");
|
||||||
public static final ResourceLocation PARTICLE_RESOURCE = new ResourceLocation("textures/particle/particles.png");
|
public static final ResourceLocation PARTICLE_RESOURCE = new ResourceLocation("textures/particle/particles.png");
|
||||||
|
|
||||||
/** The width of the electrical bolt. */
|
/** The width of the electrical bolt. */
|
||||||
|
|
|
@ -20,9 +20,9 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public class RenderTesla extends TileEntitySpecialRenderer
|
public class RenderTesla extends TileEntitySpecialRenderer
|
||||||
{
|
{
|
||||||
public static final ResourceLocation TEXTURE_BOTTOM = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "tesla_bottom.png");
|
public static final ResourceLocation TEXTURE_BOTTOM = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "tesla_bottom.png");
|
||||||
public static final ResourceLocation TEXTURE_MIDDLE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "tesla_middle.png");
|
public static final ResourceLocation TEXTURE_MIDDLE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "tesla_middle.png");
|
||||||
public static final ResourceLocation TEXTURE_TOP = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "tesla_top.png");
|
public static final ResourceLocation TEXTURE_TOP = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "tesla_top.png");
|
||||||
public static final ModelTeslaBottom MODEL_BOTTOM = new ModelTeslaBottom();
|
public static final ModelTeslaBottom MODEL_BOTTOM = new ModelTeslaBottom();
|
||||||
public static final ModelTeslaMiddle MODEL_MIDDLE = new ModelTeslaMiddle();
|
public static final ModelTeslaMiddle MODEL_MIDDLE = new ModelTeslaMiddle();
|
||||||
public static final ModelTeslaTop MODEL_TOP = new ModelTeslaTop();
|
public static final ModelTeslaTop MODEL_TOP = new ModelTeslaTop();
|
||||||
|
|
|
@ -19,7 +19,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
public class RenderTransformer
|
public class RenderTransformer
|
||||||
{
|
{
|
||||||
public static final ModelTransformer MODEL = new ModelTransformer();
|
public static final ModelTransformer MODEL = new ModelTransformer();
|
||||||
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "transformer.png");
|
public static final ResourceLocation TEXTURE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "transformer.png");
|
||||||
|
|
||||||
public static void render(PartTransformer part, double x, double y, double z)
|
public static void render(PartTransformer part, double x, double y, double z)
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,7 +35,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public class RenderPartWire
|
public class RenderPartWire
|
||||||
{
|
{
|
||||||
private static final ResourceLocation WIRE_SHINE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_TEXTURE_DIRECTORY + "white.png");
|
private static final ResourceLocation WIRE_SHINE = new ResourceLocation(Reference.DOMAIN, Reference.MODEL_PATH + "white.png");
|
||||||
public static final Map<String, CCModel> models;
|
public static final Map<String, CCModel> models;
|
||||||
public static final Map<String, CCModel> shinyModels;
|
public static final Map<String, CCModel> shinyModels;
|
||||||
public static Icon wireIcon;
|
public static Icon wireIcon;
|
||||||
|
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
BIN
src/main/resources/assets/resonantinduction/models/tesla_top.png
Normal file
After Width: | Height: | Size: 966 B |
After Width: | Height: | Size: 1.4 KiB |
BIN
src/main/resources/assets/resonantinduction/models/white.png
Normal file
After Width: | Height: | Size: 177 B |