Package net.createmod.ponder.enums
Enum Class PonderGuiTextures
- All Implemented Interfaces:
Serializable,Comparable<PonderGuiTextures>,Constable,ScreenElement,TextureSheetSegment,BindableTexture,ColoredRenderable
public enum PonderGuiTextures
extends Enum<PonderGuiTextures>
implements TextureSheetSegment, ScreenElement, ColoredRenderable
-
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
Fields -
Method Summary
Modifier and TypeMethodDescriptionintnet.minecraft.resources.ResourceLocationintintintgetWidth()voidrender(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) voidstatic PonderGuiTexturesReturns the enum constant of this class with the specified name.static PonderGuiTextures[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.createmod.catnip.render.BindableTexture
bind
-
Enum Constant Details
-
SPEECH_TOOLTIP_BACKGROUND
-
SPEECH_TOOLTIP_COLOR
-
ICON_PONDER_LEFT
-
ICON_PONDER_CLOSE
-
ICON_PONDER_RIGHT
-
ICON_PONDER_IDENTIFY
-
ICON_PONDER_REPLAY
-
ICON_PONDER_USER_MODE
-
ICON_PONDER_SLOW_MODE
-
ICON_CONFIG_UNLOCKED
-
ICON_CONFIG_LOCKED
-
ICON_CONFIG_DISCARD
-
ICON_CONFIG_SAVE
-
ICON_CONFIG_RESET
-
ICON_CONFIG_BACK
-
ICON_CONFIG_PREV
-
ICON_CONFIG_NEXT
-
ICON_DISABLE
-
ICON_CONFIG_OPEN
-
ICON_CONFIRM
-
ICON_LMB
-
ICON_SCROLL
-
ICON_RMB
-
PLACEMENT_INDICATOR_SHEET
-
-
Field Details
-
location
public final net.minecraft.resources.ResourceLocation location
-
-
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
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Specified by:
renderin interfaceScreenElement
-
render
- Specified by:
renderin interfaceColoredRenderable
-
getLocation
public net.minecraft.resources.ResourceLocation getLocation()- Specified by:
getLocationin interfaceBindableTexture
-
getStartX
public int getStartX()- Specified by:
getStartXin interfaceTextureSheetSegment
-
getStartY
public int getStartY()- Specified by:
getStartYin interfaceTextureSheetSegment
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceTextureSheetSegment
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceTextureSheetSegment
-
asStencil
-