mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Giant multiblock refactor
This commit is contained in:
1 parent
201111cb83
commit
aa47599278
259 files changed
+10117
-6495
No files matched your search
@@ -19,8 +19,8 @@ import net.minecraftforge.client.IItemRenderer;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import forestry.core.utils.StackUtils;
|
||||
import forestry.farming.gadgets.BlockFarm;
|
||||
import forestry.farming.gadgets.EnumFarmBlock;
|
||||
import forestry.farming.multiblock.BlockFarm;
|
||||
import forestry.farming.multiblock.EnumFarmBlockTexture;
|
||||
|
||||
public class FarmItemRenderer implements IItemRenderer {
|
||||
|
||||
@@ -39,7 +39,7 @@ public class FarmItemRenderer implements IItemRenderer {
|
||||
block.setBlockBoundsForItemRender();
|
||||
render.setRenderBoundsFromBlock(block);
|
||||
|
||||
EnumFarmBlock type = EnumFarmBlock.getFromCompound(item.getTagCompound());
|
||||
EnumFarmBlockTexture type = EnumFarmBlockTexture.getFromCompound(item.getTagCompound());
|
||||
|
||||
GL11.glTranslatef(translateX, translateY, translateZ);
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import net.minecraft.world.IBlockAccess;
|
||||
|
||||
import forestry.core.config.ForestryBlock;
|
||||
import forestry.core.render.OverlayRenderingHandler;
|
||||
import forestry.farming.gadgets.BlockFarm;
|
||||
import forestry.farming.multiblock.BlockFarm;
|
||||
import forestry.plugins.PluginFarming;
|
||||
|
||||
public class FarmRenderingHandler extends OverlayRenderingHandler {
|
||||
|
||||
Reference in new issue
Block a user