Skip to content

Commit

Permalink
That's what I get for writing 1.6.4 mods on a 1.6.2 enviroment...
Browse files Browse the repository at this point in the history
  • Loading branch information
TrainerGuy22 committed Oct 2, 2013
1 parent 2c2feec commit 28f9361
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
case EQUIPPED: {
GL11.glPushMatrix();

Minecraft.getMinecraft().renderEngine.func_110577_a(ClientReference.HANDGUN_TEXTURE);
Minecraft.getMinecraft().renderEngine.bindTexture(ClientReference.HANDGUN_TEXTURE);

GL11.glRotatef(0F, 1.0F, 0.0F, 0.0F);
GL11.glRotatef(176F, 0.0F, 1.0F, 0.0F);
Expand Down
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderBlazeShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntityBlazeShot;
Expand Down Expand Up @@ -47,7 +48,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.BLAZE;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderBusterShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntityBusterShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.BUSTER;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderConcussiveShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntityConcussiveShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.CONCUSSIVE;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderEnderShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntityEnderShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.ENDER;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderExorcismShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntityExorcismShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.EXORCISM;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderNeutralShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntityNeutralShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.NEUTRAL;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderSandShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntitySandShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.SAND;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderSeekerShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.entities.EntitySeekerShot;
Expand Down Expand Up @@ -46,7 +47,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.SEEKER;
}
}
4 changes: 2 additions & 2 deletions reliquary_common/xreliquary/client/RenderStormShot.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
Expand Down Expand Up @@ -52,7 +52,7 @@ public void doRender(Entity par1Entity, double par2, double par4,
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return ClientReference.STORM;
}
}
5 changes: 3 additions & 2 deletions reliquary_common/xreliquary/client/RenderThrown.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import xreliquary.lib.Reference;
Expand Down Expand Up @@ -43,7 +44,7 @@ public void doRender(Entity par1Entity, double par2, double par4, double par6, f
}

@Override
protected ResourceLocation func_110775_a(Entity entity) {
protected ResourceLocation getEntityTexture(Entity entity) {
return new ResourceLocation(Reference.MOD_ID, Reference.ART_PATH_ENTITIES + Reference.THROWN_ITEM_SPRITES);
}
}
2 changes: 1 addition & 1 deletion reliquary_common/xreliquary/lib/ClientReference.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package xreliquary.lib;

import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.util.ResourceLocation;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

Expand Down
1 change: 0 additions & 1 deletion reliquary_common/xreliquary/lib/Reference.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.resources.ResourceLocation;

public class Reference {
// class for all the mod related constants
Expand Down

0 comments on commit 28f9361

Please sign in to comment.