Unified build script (#175)

* Update build script
* Update build script to import fix for shadow in dev and sources artifacts
* Update fixed build script to shadow csv dependency in dev jar as well
* Moved jitpack
* Move new files
This commit is contained in:
Johann Bernhardt authored and GitHub committed 2021-11-22 08:56:35 -08:00
1 parent 43b71b1de6
commit a7ca6c8527
188 files changed
+646 -968

No files matched your search

@@ -0,0 +1,28 @@
package codechicken.nei;
import codechicken.nei.api.IStackPositioner;
import java.util.ArrayList;
public class OffsetPositioner implements IStackPositioner
{
public OffsetPositioner(int x, int y)
{
offsetx = x;
offsety = y;
}
@Override
public ArrayList<PositionedStack> positionStacks(ArrayList<PositionedStack> ai)
{
for(PositionedStack stack : ai)
{
stack.relx+=offsetx;
stack.rely+=offsety;
}
return ai;
}
public int offsetx;
public int offsety;
}