mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
45 lines
1.1 KiB
Diff
45 lines
1.1 KiB
Diff
--- ../src_base/minecraft/net/minecraft/client/model/ModelRenderer.java
|
|
+++ ../src_work/minecraft/net/minecraft/client/model/ModelRenderer.java
|
|
@@ -8,7 +8,6 @@
|
|
import net.minecraft.client.renderer.Tessellator;
|
|
import org.lwjgl.opengl.GL11;
|
|
|
|
-@SideOnly(Side.CLIENT)
|
|
public class ModelRenderer
|
|
{
|
|
/** The size of the texture file's width in pixels. */
|
|
@@ -117,7 +116,8 @@
|
|
this.rotationPointY = par2;
|
|
this.rotationPointZ = par3;
|
|
}
|
|
-
|
|
+
|
|
+ @SideOnly(Side.CLIENT)
|
|
public void render(float par1)
|
|
{
|
|
if (!this.isHidden)
|
|
@@ -200,6 +200,7 @@
|
|
}
|
|
}
|
|
|
|
+ @SideOnly(Side.CLIENT)
|
|
public void renderWithRotation(float par1)
|
|
{
|
|
if (!this.isHidden)
|
|
@@ -238,6 +239,7 @@
|
|
/**
|
|
* Allows the changing of Angles after a box has been rendered
|
|
*/
|
|
+ @SideOnly(Side.CLIENT)
|
|
public void postRender(float par1)
|
|
{
|
|
if (!this.isHidden)
|
|
@@ -282,6 +284,7 @@
|
|
/**
|
|
* Compiles a GL display list for this model
|
|
*/
|
|
+ @SideOnly(Side.CLIENT)
|
|
private void compileDisplayList(float par1)
|
|
{
|
|
this.displayList = GLAllocation.generateDisplayLists(1);
|