MirrorAxis
Link to mirroraxis
Defines how a recipe should be mirrored.
Importare la Classe
Link to importare-la-classe
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 Copyimport crafttweaker.api.recipe.MirrorAxis;
Enum Constants
Link to enum-constants
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
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome ALL | Tipo MirrorAxis | Ha Getter sì | Ha Setter no | Descrizione Mirror the recipe on all axes. |
Nome DIAGONAL | Tipo MirrorAxis | Ha Getter sì | Ha Setter no | Descrizione Mirror the recipe diagonally. |
Nome HORIZONTAL | Tipo MirrorAxis | Ha Getter sì | Ha Setter no | Descrizione Mirror the recipe horizontally. |
Nome NONE | Tipo MirrorAxis | Ha Getter sì | Ha Setter no | Descrizione Do not mirror the recipe. |
Nome VERTICAL | Tipo MirrorAxis | Ha Getter sì | Ha Setter no | Descrizione Mirror the recipe vertically. |