MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / mirror

Method mirror

common/buildcraft/api/bpt/Schematic.java:17–17  ·  view source on GitHub ↗

Attempts to mirror this schematic in the given axis. (So given Axis.Y you should invert top-to-bottom) @param axis The axis to mirror in. @throws SchematicException if your current state cannot be rotated in the given axis, but other states could be. (So don't throw if you are a fence a

(Axis axis)

Source from the content-addressed store, hash-verified

15 * @throws SchematicException if your current state cannot be rotated in the given axis, but other states could be.
16 * (So don't throw if you are a fence and you were asked to mirror in the Y axis) */
17 public abstract void mirror(Axis axis);
18
19 /** Attempts to rotate this schematic in the given axis, by the given rotation. (So for Axis.Y and
20 * Rotation.CLOCKWISE_90 you should do whatever {@link IBlockState#withRotation(Rotation)} would do.)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected