Examples of GasStack


Examples of mekanism.api.gas.GasStack

    Point offset = gui.getRecipePosition(recipe);

    int xAxis = point.x-(Integer)MekanismUtils.getPrivateValue(gui, GuiContainer.class, ObfuscatedNames.GuiContainer_guiLeft)-offset.x;
    int yAxis = point.y-(Integer)MekanismUtils.getPrivateValue(gui, GuiContainer.class, ObfuscatedNames.GuiContainer_guiTop)-offset.y;

    GasStack stack = null;

    if(xAxis >= 45 && xAxis <= 51 && yAxis >= 33 && yAxis <= 45)
    {
      stack = new GasStack(((CachedIORecipe)arecipes.get(recipe)).input.gasType, 1);
    }

    if(stack != null)
    {
      if(keyCode == NEIClientConfig.getKeyBinding("gui.recipe"))
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.