Skip to content

Commit

Permalink
Fix PSS JEI preview
Browse files Browse the repository at this point in the history
  • Loading branch information
ALongStringOfNumbers committed Jan 30, 2025
1 parent 508c3c5 commit 80fa08c
Showing 1 changed file with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@
import gregtech.api.capability.impl.EnergyContainerList;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.interfaces.IGregTechTileEntity;
import gregtech.api.metatileentity.multiblock.*;
import gregtech.api.pattern.*;
import gregtech.api.metatileentity.multiblock.IBatteryData;
import gregtech.api.metatileentity.multiblock.IMultiblockPart;
import gregtech.api.metatileentity.multiblock.IProgressBarMultiblock;
import gregtech.api.metatileentity.multiblock.MultiblockAbility;
import gregtech.api.metatileentity.multiblock.MultiblockDisplayText;
import gregtech.api.metatileentity.multiblock.MultiblockWithDisplayBase;
import gregtech.api.pattern.BlockPattern;
import gregtech.api.pattern.FactoryBlockPattern;
import gregtech.api.pattern.MultiblockShapeInfo;
import gregtech.api.pattern.PatternMatchContext;
import gregtech.api.pattern.TraceabilityPredicate;
import gregtech.api.util.BlockInfo;
import gregtech.api.util.TextComponentUtil;
import gregtech.api.util.TextFormattingUtil;
Expand Down Expand Up @@ -48,7 +57,11 @@

import java.math.BigInteger;
import java.time.Duration;
import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.function.Supplier;

import static gregtech.api.util.RelativeDirection.*;
Expand Down Expand Up @@ -247,7 +260,7 @@ protected BlockPattern createStructurePattern() {
@Override
public List<MultiblockShapeInfo> getMatchingShapes() {
List<MultiblockShapeInfo> shapeInfo = new ArrayList<>();
MultiblockShapeInfo.Builder builder = MultiblockShapeInfo.builder()
MultiblockShapeInfo.Builder builder = MultiblockShapeInfo.builder(RIGHT, DOWN, FRONT)
.aisle("CCCCC", "CCCCC", "GGGGG", "GGGGG", "GGGGG")
.aisle("CCCCC", "CCCCC", "GBBBG", "GBBBG", "GGGGG")
.aisle("CCCCC", "CCCCC", "GBBBG", "GBBBG", "GGGGG")
Expand Down

0 comments on commit 80fa08c

Please sign in to comment.