mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-25 06:24:35 +00:00
Cleaned and generalised item loading/searching
Reimplemented subsets Added regex searching Fixed format error on delete all Fixed GuiButton handling clicks before NEI widgets could override Re-Implemented banned blocks implementation Added brewing recipes again note test obf ASM beacons Fixed some calls being intercepted by item panel when mouse was over a gui element Fixed crash on closing potion window with escape Disabled fast transfer, scrolling, and drag 'n' drop in creative Added item panel sorting Removed TMI uninstaller Fixed /give command Updated to 1.7.10
This commit is contained in:
1 parent
3c9ebc6961
commit
3c84527806
67 files changed
+3251
-2319
No files matched your search
@@ -34,18 +34,18 @@ public class OptionUtilities extends OptionStringSet
|
||||
public void drawIcons()
|
||||
{
|
||||
int x = buttonX();
|
||||
LayoutManager.drawIcon(x+4, 6, new Image(120, 24, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 6, new Image(120, 12, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 6, new Image(168, 24, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 6, new Image(144, 12, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 6, new Image(180, 24, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 6, new Image(132, 12, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(120, 24, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(120, 12, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(168, 24, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(144, 12, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(180, 24, 12, 12)); x+=24;
|
||||
LayoutManager.drawIcon(x+4, 4, new Image(132, 12, 12, 12)); x+=24;
|
||||
RenderHelper.enableGUIStandardItemLighting();
|
||||
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
|
||||
ItemStack sword = new ItemStack(Items.diamond_sword);
|
||||
sword.addEnchantment(Enchantment.sharpness, 1);
|
||||
GuiContainerManager.drawItem(x+2, 4, sword); x+=24;
|
||||
GuiContainerManager.drawItem(x+2, 4, new ItemStack(Items.potionitem)); x+=24;
|
||||
GuiContainerManager.drawItem(x+2, 4, new ItemStack(Blocks.stone)); x+=24;
|
||||
GuiContainerManager.drawItem(x+2, 2, sword); x+=24;
|
||||
GuiContainerManager.drawItem(x+2, 2, new ItemStack(Items.potionitem)); x+=24;
|
||||
GuiContainerManager.drawItem(x+2, 2, new ItemStack(Blocks.stone)); x+=24;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user