Enum Class FramebufferEditAction
- All Implemented Interfaces:
VeilResourceAction<FramebufferResource>,Serializable,Comparable<FramebufferEditAction>,Constable
public enum FramebufferEditAction
extends Enum<FramebufferEditAction>
implements VeilResourceAction<FramebufferResource>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentgetIcon()net.minecraft.network.chat.ComponentgetName()voidperform(VeilEditorEnvironment environment, FramebufferResource resource) Performs the action on the specified resourcestatic FramebufferEditActionReturns the enum constant of this class with the specified name.static FramebufferEditAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
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
-
getName
public net.minecraft.network.chat.Component getName()- Specified by:
getNamein interfaceVeilResourceAction<FramebufferResource>- Returns:
- The name of the action
-
getDescription
public net.minecraft.network.chat.Component getDescription()- Specified by:
getDescriptionin interfaceVeilResourceAction<FramebufferResource>- Returns:
- A brief description of the action
-
getIcon
- Specified by:
getIconin interfaceVeilResourceAction<FramebufferResource>- Returns:
- The icon to display for the action
-
perform
Description copied from interface:VeilResourceActionPerforms the action on the specified resource- Specified by:
performin interfaceVeilResourceAction<FramebufferResource>
-