Files
MinecraftForge/patches/minecraft/net/minecraft/client/model/ModelRenderer.java.patch
T
Lex Manos 53659fca06 Initial update to 1.8, Super beta. Most rendering related hooks are out due to major changes in 1.8.
Some notes:
Almost all int x, int y, int z parameters have been changed to BlockPos class
ForgeDirection has been removed, replaced by net.minecraft.util.EnumFacing.
All FML classes have moved from packet cpw.mods.fml to net.minecraftforge.fml
Fluid Rendering has been disabled for the time being, to be re-evaulated and a test mod created for it.
Minecraft now uses a Model based system for rendering blocks and Items. The intention is to expand the model format to better suit modder's needed once it is evaulated.
As such, The model loaders from Forge have been removed, to be replaced by expanding vanilla's model format.
Metadata has been extracted out in Minecraft to IBlockState, which holds a list of properties instead of magic number metadata. DO NOT listen to the fearmongering, you can do EVERYTHING with block states you could previously with metadata.
Stencil Bits are disabled entirely by for the main Display, Modders must enable and recreate the FrameBuffer if they wish to use Stencil Bits.
2014-11-26 00:00:54 -08:00

43 lines
1021 B
Diff

--- ../src-base/minecraft/net/minecraft/client/model/ModelRenderer.java
+++ ../src-work/minecraft/net/minecraft/client/model/ModelRenderer.java
@@ -10,7 +10,6 @@
import net.minecraftforge.fml.relauncher.SideOnly;
import org.lwjgl.opengl.GL11;
-@SideOnly(Side.CLIENT)
public class ModelRenderer
{
public float field_78801_a;
@@ -110,6 +109,7 @@
this.field_78798_e = p_78793_3_;
}
+ @SideOnly(Side.CLIENT)
public void func_78785_a(float p_78785_1_)
{
if (!this.field_78807_k)
@@ -192,6 +192,7 @@
}
}
+ @SideOnly(Side.CLIENT)
public void func_78791_b(float p_78791_1_)
{
if (!this.field_78807_k)
@@ -227,6 +228,7 @@
}
}
+ @SideOnly(Side.CLIENT)
public void func_78794_c(float p_78794_1_)
{
if (!this.field_78807_k)
@@ -268,6 +270,7 @@
}
}
+ @SideOnly(Side.CLIENT)
private void func_78788_d(float p_78788_1_)
{
this.field_78811_r = GLAllocation.func_74526_a(1);