Package com.petrolpark.client.rendering
Enum Class PetrolparkGuiTexture
- All Implemented Interfaces:
IGuiTexture,Serializable,Comparable<PetrolparkGuiTexture>,Constable,net.createmod.catnip.gui.element.ScreenElement
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal net.minecraft.resources.ResourceLocationfinal intfinal intfinal intfinal intfinal int -
Method Summary
Modifier and TypeMethodDescriptionvoidbind()intnet.minecraft.resources.ResourceLocationintintintintintgetWidth()voidrender(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) static PetrolparkGuiTextureReturns the enum constant of this class with the specified name.static PetrolparkGuiTexture[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JEI_POINTING_HAND
-
JEI_SHORT_DOWN_ARROW
-
JEI_SHORT_RIGHT_ARROW
-
JEI_EQUILIBRIUM_ARROW
-
JEI_LINE
-
JEI_TEXT_BOX_LONG
-
JEI_TEXT_BOX_SHORT
-
JEI_DISTILLATION_TOWER_BOTTOM
-
JEI_DISTILLATION_TOWER_MIDDLE
-
JEI_DISTILLATION_TOWER_TOP
-
JEI_DISTILLATION_TOWER_BRANCH
-
JEI_EXPLOSION
-
JEI_NERD_EMOJI
-
JEI_GLOBE
-
INVENTORY_BACKGROUND
-
INVENTORY_SLOT
-
HOTBAR_BACKGROUND
-
HOTBAR_SLOT
-
SELECT_TEAM_BACKGROUND
-
SELECT_TEAM
-
SELECT_TEAM_SELECTED
-
SELECT_TEAM_HIGHLIGHTED
-
CREATIVE_MODE_TAB_BLANK_ROW
-
-
Field Details
-
location
public final net.minecraft.resources.ResourceLocation location -
width
public final int width -
height
public final int height -
startX
public final int startX -
startY
public final int startY -
textureWidth
public final int textureWidth -
textureHeight
public final int textureHeight
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
bind
public void bind()- Specified by:
bindin interfaceIGuiTexture
-
render
public void render(@Nonnull net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Specified by:
renderin interfacenet.createmod.catnip.gui.element.ScreenElement
-
getLocation
public net.minecraft.resources.ResourceLocation getLocation()- Specified by:
getLocationin interfaceIGuiTexture
-
getStartX
public int getStartX()- Specified by:
getStartXin interfaceIGuiTexture
-
getStartY
public int getStartY()- Specified by:
getStartYin interfaceIGuiTexture
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceIGuiTexture
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceIGuiTexture
-
getTextureWidth
public int getTextureWidth()- Specified by:
getTextureWidthin interfaceIGuiTexture
-
getTextureHeight
public int getTextureHeight()- Specified by:
getTextureHeightin interfaceIGuiTexture
-