native fluid io bus

This commit is contained in:
GlodBlock committed 2022-05-27 22:18:25 +08:00
1 parent a548d3094d
commit a053b51b57
23 files changed
+1038

No files matched your search

@@ -1,6 +1,7 @@
package com.glodblock.github.util;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
import javax.annotation.Nonnull;
@@ -22,6 +23,10 @@ public class BlockPos {
this.z = te.zCoord;
}
public BlockPos getOffSet(ForgeDirection face) {
return new BlockPos(this.x + face.offsetX, this.y + face.offsetY, this.z + face.offsetZ);
}
public int getX() {
return x;
}