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
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.Component
getIcon()
net.minecraft.network.chat.Component
getName()
void
perform
(VeilEditorEnvironment environment, FramebufferResource resource) Performs the action on the specified resourcestatic FramebufferEditAction
Returns 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:
getName
in interfaceVeilResourceAction<FramebufferResource>
- Returns:
- The name of the action
-
getDescription
public net.minecraft.network.chat.Component getDescription()- Specified by:
getDescription
in interfaceVeilResourceAction<FramebufferResource>
- Returns:
- A brief description of the action
-
getIcon
- Specified by:
getIcon
in interfaceVeilResourceAction<FramebufferResource>
- Returns:
- The icon to display for the action
-
perform
Description copied from interface:VeilResourceAction
Performs the action on the specified resource- Specified by:
perform
in interfaceVeilResourceAction<FramebufferResource>
-