diff --git a/src/main/java/org/kapelle/multiblock/MultiblockStructure.java b/src/main/java/org/kapelle/multiblock/MultiblockStructure.java index 3502fb6..ed63fa9 100644 --- a/src/main/java/org/kapelle/multiblock/MultiblockStructure.java +++ b/src/main/java/org/kapelle/multiblock/MultiblockStructure.java @@ -13,7 +13,11 @@ public class MultiblockStructure { this.structure = structure; } - private BlockComponent getComponent(int x, int y, int z){ + public BlockComponent getComponent(BlockVector offset){ + return getComponent(offset.getBlockX(),offset.getBlockY(),offset.getBlockZ()); + } + + public BlockComponent getComponent(int x, int y, int z){ return structure.get(x).get(y).get(z); }