From 2ce1cd6abb035eec76e7baf3cd5b3fea81fbd6a5 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Mon, 19 Mar 2018 06:17:49 +1000 Subject: + Added Custom mining pipe & head blocks for the Bedrock Mining Platform. + Added Cryotheum and Pyrotheum requirements to the BRMP. $ More Fixes to Pipe handling within the BRMP. --- src/Java/gtPlusPlus/api/objects/minecraft/BlockPos.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Java/gtPlusPlus/api') diff --git a/src/Java/gtPlusPlus/api/objects/minecraft/BlockPos.java b/src/Java/gtPlusPlus/api/objects/minecraft/BlockPos.java index 7ee71e7c9f..5f0d3a2117 100644 --- a/src/Java/gtPlusPlus/api/objects/minecraft/BlockPos.java +++ b/src/Java/gtPlusPlus/api/objects/minecraft/BlockPos.java @@ -31,6 +31,14 @@ public class BlockPos implements Serializable{ this.world = DimensionManager.getWorld(dim); } + public BlockPos(int x, int y, int z, World dim){ + this.xPos = x; + this.yPos = y; + this.zPos = z; + this.dim = dim.provider.dimensionId; + this.world = dim; + } + public String getLocationString() { return "[X: "+this.xPos+"][Y: "+this.yPos+"][Z: "+this.zPos+"][Dim: "+this.dim+"]"; } -- cgit