Skip to content

Commit 0857919

Browse files
committed
pull out new methods into separate interface
1 parent 5499175 commit 0857919

2 files changed

Lines changed: 25 additions & 28 deletions

File tree

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
package com.gtnewhorizon.structurelib.alignment.constructable;
22

3-
import com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing;
4-
import com.gtnewhorizon.structurelib.structure.IStructureDefinition;
5-
import com.gtnewhorizon.structurelib.util.Vec3Impl;
6-
73
import cpw.mods.fml.relauncher.Side;
84
import cpw.mods.fml.relauncher.SideOnly;
95
import net.minecraft.item.ItemStack;
@@ -16,29 +12,5 @@ public interface IConstructable {
1612

1713
@SideOnly(Side.CLIENT)
1814
String[] getStructureDescription(ItemStack stackSize);
19-
20-
/**
21-
*
22-
* @return the active structure definition in use
23-
*/
24-
default IStructureDefinition<?> getActiveStructure() {
25-
return null;
26-
}
27-
28-
/**
29-
*
30-
* @return the orientation of the controller
31-
*/
32-
default ExtendedFacing getExtendedFacing() {
33-
return null;
34-
}
35-
36-
/**
37-
*
38-
* @return the structure offset (A, B, C) used to calculate the position to start scanning at
39-
*/
40-
default Vec3Impl getStructureOffset() {
41-
return null;
42-
}
4315
}
4416

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package com.gtnewhorizon.structurelib.alignment.constructable;
2+
3+
import com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing;
4+
import com.gtnewhorizon.structurelib.structure.IStructureDefinition;
5+
import com.gtnewhorizon.structurelib.util.Vec3Impl;
6+
7+
public interface IDeconstructable {
8+
/**
9+
*
10+
* @return the active structure definition in use
11+
*/
12+
IStructureDefinition<?> getActiveStructure();
13+
14+
/**
15+
*
16+
* @return the orientation of the controller
17+
*/
18+
ExtendedFacing getExtendedFacing();
19+
20+
/**
21+
*
22+
* @return the structure offset (A, B, C) used to calculate the position to start scanning at
23+
*/
24+
Vec3Impl getStructureOffset();
25+
}

0 commit comments

Comments
 (0)