Fixed #3834 / Fixed #3835 / Fixed #3837

This commit is contained in:
Anuken
2020-12-07 11:10:19 -05:00
parent 5e0ba2f4af
commit 557cb1c532
6 changed files with 25 additions and 4 deletions

View File

@@ -61,6 +61,10 @@ public class BuildPlan implements Position{
}
public boolean samePos(BuildPlan other){
return x == other.x && y == other.y;
}
/** Transforms the internal position of this config using the specified function, and return the result. */
public static Object pointConfig(Block block, Object config, Cons<Point2> cons){
if(config instanceof Point2){