Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can now Capture designs using blueprints in game.
- Loading branch information
1 parent
e54da0e
commit 2ae9750
Showing
19 changed files
with
530 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/main/java/mod/chiselsandbits/blueprints/BlueprintPosition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package mod.chiselsandbits.blueprints; | ||
|
||
import net.minecraft.util.EnumFacing; | ||
import net.minecraft.util.math.BlockPos; | ||
|
||
public class BlueprintPosition | ||
{ | ||
|
||
public final BlockPos center; | ||
public final BlockPos min; | ||
public final BlockPos max; | ||
|
||
public final BlockPos bitOffset; | ||
public final EnumFacing axisX; | ||
public final EnumFacing axisY; | ||
public final EnumFacing axisZ; | ||
public final BlockPos afterOffset; | ||
|
||
public BlueprintPosition( | ||
BlockPos center, | ||
BlockPos min, | ||
BlockPos max, | ||
BlockPos bitOffset, | ||
EnumFacing axisX, | ||
EnumFacing axisY, | ||
EnumFacing axisZ, | ||
BlockPos afterOffset ) | ||
{ | ||
this.center = center; | ||
this.min = min; | ||
this.max = max; | ||
this.bitOffset = bitOffset; | ||
this.axisX = axisX; | ||
this.axisY = axisY; | ||
this.axisZ = axisZ; | ||
this.afterOffset = afterOffset; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.