MirrorAxis
Link to mirroraxis
Defines how a recipe should be mirrored.
导入类
Link to 导入类
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.
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
名称 | 类型 | 可获得 | 可设置 | 描述 |
---|---|---|---|---|
名称 ALL | 类型 MirrorAxis | 可获得 true | 可设置 false | 描述 Mirror the recipe on all axes. |
名称 DIAGONAL | 类型 MirrorAxis | 可获得 true | 可设置 false | 描述 Mirror the recipe diagonally. |
名称 HORIZONTAL | 类型 MirrorAxis | 可获得 true | 可设置 false | 描述 Mirror the recipe horizontally. |
名称 NONE | 类型 MirrorAxis | 可获得 true | 可设置 false | 描述 Do not mirror the recipe. |
名称 VERTICAL | 类型 MirrorAxis | 可获得 true | 可设置 false | 描述 Mirror the recipe vertically. |