Initial pass at killing BakedCustomItemModel and using TEISR

Bump Min Req Forge to 14.23.2.2638
Need to clean up the registration, and fix fluid tank rendering
This commit is contained in:
pupnewfster authored and Dave Smith committed 2019-03-17 11:27:47 -06:00
1 parent b4251d2e3d
commit 714a18e7be
40 files changed
+1381 -876

No files matched your search

@@ -0,0 +1,25 @@
package mekanism.client.render.item.basicblock;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class RenderBinItem {
public static void renderStack() {
//TODO: The idea of this is to render the bin's contents onto the bin
//TODO: Implement it
/*GlStateManager.pushMatrix();
ItemBlockBasic itemBasic = (ItemBlockBasic)stack.getItem();
InventoryBin inv = new InventoryBin(stack);
binRenderer.render(EnumFacing.NORTH, inv.getItemType(), inv.getItemCount(), false, -0.5, -0.5, -0.5);
Minecraft.getMinecraft().renderEngine.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
GlStateManager.enableRescaleNormal();
GlStateManager.enableAlpha();
GlStateManager.alphaFunc(516, 0.1F);
GlStateManager.enableBlend();
GlStateManager.blendFunc(770, 771);
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
GlStateManager.popMatrix();*/
}
}