More work on the new manual
This commit is contained in:
parent
e01fe31da8
commit
19e66c1c93
15 changed files with 680 additions and 40 deletions
22
src/main/java/techreborn/manual/util/ButtonUtil.java
Normal file
22
src/main/java/techreborn/manual/util/ButtonUtil.java
Normal file
|
@ -0,0 +1,22 @@
|
|||
package techreborn.manual.util;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ButtonUtil
|
||||
{
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static void addBackButton(int ID, int X, int Y, List buttonList)
|
||||
{
|
||||
buttonList.add(new GuiButtonCustomTexture(ID, X, Y, 50, 60, 17, 12, "button", "", "", 0, 11, 10, 16));
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static void addNextButton(int ID, int X, int Y, List buttonList)
|
||||
{
|
||||
buttonList.add(new GuiButtonCustomTexture(ID, X, Y, 50, 60, 17, 12, "button", "", "", 0, 1, 10, 17));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue