Defines how a recipe should be mirrored.

Diese Klasse importieren

Link to diese-klasse-importieren

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;

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

ZenScript
Copy

// Mirror the recipe on all axes.
MirrorAxis.ALL

// Mirror the recipe diagonally.
MirrorAxis.DIAGONAL

// Mirror the recipe horizontally.
MirrorAxis.HORIZONTAL

// Do not mirror the recipe.
MirrorAxis.NONE

// Mirror the recipe vertically.
MirrorAxis.VERTICAL

Static Properties

Link to static-properties

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