MirrorAxis
Defines how a recipe should be mirrored.
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import crafttweaker.api.recipe.MirrorAxis;Enum Constants
MirrorAxis is an enum. It has 5 enum constants. They are accessible using the code below.
// Mirror the recipe on all axes.<constant:minecraft:mirroraxis:all>
// Mirror the recipe diagonally.<constant:minecraft:mirroraxis:diagonal>
// Mirror the recipe horizontally.<constant:minecraft:mirroraxis:horizontal>
// Do not mirror the recipe.<constant:minecraft:mirroraxis:none>
// Mirror the recipe vertically.<constant:minecraft:mirroraxis:vertical>Static Properties
| Name | Type | Has Getter | Has Setter | Description | 
|---|---|---|---|---|
| NameALL | TypeMirrorAxis | Has Gettertrue | Has Setterfalse | DescriptionMirror the recipe on all axes. | 
| NameDIAGONAL | TypeMirrorAxis | Has Gettertrue | Has Setterfalse | DescriptionMirror the recipe diagonally. | 
| NameHORIZONTAL | TypeMirrorAxis | Has Gettertrue | Has Setterfalse | DescriptionMirror the recipe horizontally. | 
| NameNONE | TypeMirrorAxis | Has Gettertrue | Has Setterfalse | DescriptionDo not mirror the recipe. | 
| NameVERTICAL | TypeMirrorAxis | Has Gettertrue | Has Setterfalse | DescriptionMirror the recipe vertically. |