Package fr.rodofire.ewc.shape.block.gen
Enum Class SpiralGen.SpiralType
- All Implemented Interfaces:
Serializable,Comparable<SpiralGen.SpiralType>,Constable
- Enclosing class:
SpiralGen
set every possible spiral shape of the mod
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondefault shapehelicoid shape,this generates helicoid 2 with an opposite directionsame as large outline except that it is full on the insidehelicoid shape,this generates helicoid 2 with a hole in the middle with an opposite directionhelicoid shape, blocks are posed between the center of the axis and the outlinehelicoid shape, blocks are posed between the center axis and the outline -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SpiralGen.SpiralType> -
Method Summary
Modifier and TypeMethodDescriptionstatic SpiralGen.SpiralTypeReturns the enum constant of this class with the specified name.static SpiralGen.SpiralType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
default shape -
HELICOID
helicoid shape, blocks are posed between the center axis and the outline -
HALF_HELICOID
helicoid shape, blocks are posed between the center of the axis and the outline -
CUSTOM_HELICOID
-
DOUBLE_HELICOID
helicoid shape,this generates helicoid 2 with an opposite direction -
HALF_DOUBLE_HELICOID
helicoid shape,this generates helicoid 2 with a hole in the middle with an opposite direction -
CUSTOM_DOUBLE_HELICOID
-
LARGE_OUTLINE
-
FULL_LARGE_OUTLINE
same as large outline except that it is full on the inside
-
-
Field Details
-
CODEC
-
-
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
-