Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Jan 14, 2024
1 parent 75668cb commit 4eb5e00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/main/java/gregtech/api/util/RelativeDirection.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ public static EnumFacing simulateAxisRotation(EnumFacing newFrontFacing, EnumFac
}

/**
* Offset a BlockPos relatively in any direction by any amount. Pass negative values to offset down, right or backwards.
* Offset a BlockPos relatively in any direction by any amount. Pass negative values to offset down, right or
* backwards.
*/
public static BlockPos offsetPos(BlockPos pos, EnumFacing frontFacing, EnumFacing upwardsFacing, boolean isFlipped, int upOffset, int leftOffset, int forwardOffset) {
public static BlockPos offsetPos(BlockPos pos, EnumFacing frontFacing, EnumFacing upwardsFacing, boolean isFlipped,
int upOffset, int leftOffset, int forwardOffset) {
if (upOffset == 0 && leftOffset == 0 && forwardOffset == 0) {
return pos;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.resources.I18n;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.text.ITextComponent;
Expand Down

0 comments on commit 4eb5e00

Please sign in to comment.