public class GuiProperties extends java.lang.Object implements IGuiProperties
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(IGuiProperties a,
IGuiProperties b) |
static GuiProperties |
create(net.minecraft.client.gui.screen.inventory.ContainerScreen<?> containerScreen) |
static GuiProperties |
create(RecipesGui recipesGui) |
static int |
getGuiBottom(IGuiProperties guiProperties) |
int |
getGuiLeft() |
static net.minecraft.client.renderer.Rectangle2d |
getGuiRectangle(IGuiProperties guiProperties) |
static int |
getGuiRight(IGuiProperties guiProperties) |
int |
getGuiTop() |
int |
getGuiXSize() |
int |
getGuiYSize() |
java.lang.Class<? extends net.minecraft.client.gui.screen.Screen> |
getScreenClass() |
int |
getScreenHeight() |
static net.minecraft.client.renderer.Rectangle2d |
getScreenRectangle(IGuiProperties guiProperties) |
int |
getScreenWidth() |
@Nullable public static GuiProperties create(net.minecraft.client.gui.screen.inventory.ContainerScreen<?> containerScreen)
public static GuiProperties create(RecipesGui recipesGui)
public static boolean areEqual(@Nullable IGuiProperties a, @Nullable IGuiProperties b)
public static net.minecraft.client.renderer.Rectangle2d getScreenRectangle(IGuiProperties guiProperties)
public static net.minecraft.client.renderer.Rectangle2d getGuiRectangle(IGuiProperties guiProperties)
public static int getGuiRight(IGuiProperties guiProperties)
public static int getGuiBottom(IGuiProperties guiProperties)
public java.lang.Class<? extends net.minecraft.client.gui.screen.Screen> getScreenClass()
getScreenClass
in interface IGuiProperties
public int getGuiLeft()
getGuiLeft
in interface IGuiProperties
public int getGuiTop()
getGuiTop
in interface IGuiProperties
public int getGuiXSize()
getGuiXSize
in interface IGuiProperties
public int getGuiYSize()
getGuiYSize
in interface IGuiProperties
public int getScreenWidth()
getScreenWidth
in interface IGuiProperties
public int getScreenHeight()
getScreenHeight
in interface IGuiProperties