Inline getBlocksTexture

This commit is contained in:
pupnewfster committed 2019-07-08 11:46:20 -04:00
1 parent f1c7196481
commit e3fbf55d34
29 files changed
+58 -43

No files matched your search

@@ -21,6 +21,7 @@ import mekanism.common.tile.prefab.TileEntityContainerBlock;
import mekanism.common.util.LangUtils;
import mekanism.common.util.MekanismUtils;
import mekanism.common.util.MekanismUtils.ResourceType;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.SoundEvents;
import net.minecraft.tileentity.TileEntity;
@@ -95,7 +96,7 @@ public class GuiTransporterConfig extends GuiMekanismTile<TileEntityContainerBlo
fontRenderer.drawString(LangUtils.localize("gui.output"), 114, 68, 0x787878);
if (configurable.getEjector().getOutputColor() != null) {
MekanismRenderHelper renderHelper = new MekanismRenderHelper(true).enableLighting().enableRescaleNormal();
mc.getTextureManager().bindTexture(MekanismRenderer.getBlocksTexture());
mc.getTextureManager().bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
drawTexturedRectFromIcon(122, 49, MekanismRenderer.getColorIcon(configurable.getEjector().getOutputColor()), 16, 16);
renderHelper.cleanup();
}