mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 20:22:28 +00:00
Inital update to 1.4.6, Version bumped to 6.5
This commit is contained in:
1 parent
420e04f1b9
commit
a2f4a0d2dd
70 files changed
+761
-744
No files matched your search
@@ -251,7 +251,8 @@ public class ForgeHooksClient
|
||||
float scale = (renderType == 1 || renderType == 19 || renderType == 12 || renderType == 2 ? 0.5F : 0.25F);
|
||||
|
||||
GL11.glScalef(scale, scale, scale);
|
||||
int size = entity.item.stackSize;
|
||||
|
||||
int size = item.stackSize;
|
||||
int count = (size > 20 ? 4 : (size > 5 ? 3 : (size > 1 ? 2 : 1)));
|
||||
|
||||
for(int j = 0; j < count; j++)
|
||||
|
||||
+3
-4
@@ -1,12 +1,11 @@
|
||||
package net.minecraftforge.client;
|
||||
|
||||
import cpw.mods.fml.common.Side;
|
||||
import cpw.mods.fml.common.asm.SideOnly;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.multiplayer.WorldClient;
|
||||
|
||||
//To-Do: Rename this to something more generic.. IRenderHandler?
|
||||
public abstract class SkyProvider
|
||||
public abstract class IRenderHandler
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
public abstract void render(float partialTicks, WorldClient world, Minecraft mc);
|
||||
Reference in new issue
Block a user