mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Re-worked the Texture patches, optifine helper function, and re-added support for dynamically rotating the texture for mod authors who do things horribly wrong.
This commit is contained in:
1 parent
ff95739dc8
commit
d89f0dc683
5 files changed
+76
-55
No files matched your search
@@ -20,6 +20,7 @@ import java.util.logging.Logger;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.client.renderer.RenderEngine;
|
||||
import net.minecraft.client.renderer.texture.Texture;
|
||||
import net.minecraft.client.texturepacks.ITexturePack;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
@@ -70,4 +71,9 @@ public class FMLRenderAccessLibrary
|
||||
{
|
||||
return RenderingRegistry.instance().renderItemAsFull3DBlock(modelId);
|
||||
}
|
||||
|
||||
public static void doTextureCopy(Texture atlas, Texture source, int targetX, int targetY)
|
||||
{
|
||||
TextureFXManager.instance().getHelper().doTextureCopy(atlas, source, targetX, targetY);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user