Commits

Senmori authored and md_5 committed c03d8909d98
Expand Structure Block API
No tags

src/main/java/org/bukkit/block/structure/Mirror.java

Added
1 +package org.bukkit.block.structure;
2 +
3 +/**
4 + * Represents how a {@link org.bukkit.block.Structure} can be mirrored upon
5 + * being loaded.
6 + */
7 +public enum Mirror {
8 +
9 + /**
10 + * No mirroring.
11 + * <br>
12 + * Positive X to Positive Z
13 + */
14 + NONE,
15 + /**
16 + * Structure is mirrored left to right.
17 + * <br>
18 + * Similar to looking in a mirror. Positive X to Negative Z
19 + */
20 + LEFT_RIGHT,
21 + /**
22 + * Structure is mirrored front to back.
23 + * <br>
24 + * Positive Z to Negative X
25 + */
26 + FRONT_BACK;
27 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut