Updated textures to use the new ResourceLocation class.
This commit is contained in:
parent
6cd8ac0280
commit
5d144f9289
7 changed files with 20 additions and 13 deletions
|
|
@ -5,6 +5,7 @@ import org.lwjgl.opengl.GL11;
|
|||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import net.minecraft.client.particle.EntityFX;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.client.resources.ResourceLocation;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class LightCubeFX extends EntityFX {
|
||||
|
|
@ -70,7 +71,7 @@ public class LightCubeFX extends EntityFX {
|
|||
GL11.glEnable(3042);
|
||||
GL11.glBlendFunc(770, 1);
|
||||
|
||||
FMLClientHandler.instance().getClient().renderEngine.bindTexture("/mods/MysticTextures/textures/misc/lightCubeFX.png");
|
||||
FMLClientHandler.instance().getClient().renderEngine.func_110577_a(new ResourceLocation("/assets/MysticTextures/textures/misc/lightCubeFX.png"));
|
||||
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 0.75F);
|
||||
|
||||
|
|
@ -95,7 +96,7 @@ public class LightCubeFX extends EntityFX {
|
|||
GL11.glDepthMask(true);
|
||||
GL11.glPopMatrix();
|
||||
|
||||
FMLClientHandler.instance().getClient().renderEngine.bindTexture("/particles.png");
|
||||
FMLClientHandler.instance().getClient().renderEngine.func_110577_a(new ResourceLocation("/assets/minecraft/textures/particle/particles.png"));
|
||||
tessellator.startDrawingQuads();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue