Interface Flip
- All Superinterfaces:
Shiftable<Flip>, ValueProvider<Flip>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]alias()Alias which is used for parsing onlystatic FlipParse a string to a valid flip valuecom.sk89q.worldedit.math.Vector3The direction as vectorname()Simple name of the flip.default @NotNull Flipvalue()Get the current valuedefault voidChange the current value.static FlipGet the flip value by name of the flip.default FlipReturns a new valuestatic Flip[]values()A enum like representation of all flip values.Methods inherited from interface ValueProvider
refresh
-
Field Details
-
NONE
No flip. -
EAST_WEST
A Flip from east to west. -
NORTH_SOUTH
A flip from north to south. -
UP_DOWN
A flip from up to down.
-
-
Method Details
-
values
-
asFlip
Parse a string to a valid flip value- Parameters:
input- string to parse- Returns:
- flip enum value
- Throws:
IllegalArgumentException- when the value can't be parsed.CommandException- when the flip type is invalid
-
valueOf
-
name
-
alias
-
direction
com.sk89q.worldedit.math.Vector3 direction()The direction as vector- Returns:
- direction
-
value
Description copied from interface:ValueProviderChange the current value.- Specified by:
valuein interfaceValueProvider<Flip>- Parameters:
value- value to set
-
value
Description copied from interface:ValueProviderGet the current value- Specified by:
valuein interfaceValueProvider<Flip>- Returns:
- the value
-
valueProvider
Description copied from interface:ValueProviderReturns a new value- Specified by:
valueProviderin interfaceValueProvider<Flip>- Returns:
- new value
-