Home Commands Examples Getting Started With Scripts Global Keywords
BracketDumpers BracketHandlers BracketValidators ResourceLocationBracketHandler

MirrorAxis

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.recipe.MirrorAxis;

Description

Defines how a recipe should be mirrored.

Implements

MirrorAxis implements the following interfaces:

StringRepresentable

Undocumented Interfaces

Comparable<Enum>

Enum Constants

MirrorAxis is an enum with 5 constants. They are accessible like so:

script.zs
// MirrorAxis.ALL
<constant:minecraft:mirroraxis:all>
// MirrorAxis.DIAGONAL
<constant:minecraft:mirroraxis:diagonal>
// MirrorAxis.HORIZONTAL
<constant:minecraft:mirroraxis:horizontal>
// MirrorAxis.NONE
<constant:minecraft:mirroraxis:none>
// MirrorAxis.VERTICAL
<constant:minecraft:mirroraxis:vertical>