Defines how a recipe should be mirrored.

Importing the class

Link to 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.

ZenScript
Copy
import crafttweaker.api.recipe.MirrorAxis;

Implemented Interfaces

Link to implemented-interfaces

MirrorAxis implements the following interfaces. That means all methods defined in these interfaces are also available in MirrorAxis

MirrorAxis is an enum. It has 5 enum constants. They are accessible using the code below.

ZenScript
Copy

// 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

Link to static-properties

NameTypeHas GetterHas SetterDescription
Name
ALL
Type
MirrorAxis
Has Getter
true
Has Setter
false
Description
Mirror the recipe on all axes.
Name
DIAGONAL
Type
MirrorAxis
Has Getter
true
Has Setter
false
Description
Mirror the recipe diagonally.
Name
HORIZONTAL
Type
MirrorAxis
Has Getter
true
Has Setter
false
Description
Mirror the recipe horizontally.
Name
NONE
Type
MirrorAxis
Has Getter
true
Has Setter
false
Description
Do not mirror the recipe.
Name
VERTICAL
Type
MirrorAxis
Has Getter
true
Has Setter
false
Description
Mirror the recipe vertically.