Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
RealSilverMoon committed Oct 18, 2023
1 parent 0bd6a86 commit 20aa66e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
12 changes: 5 additions & 7 deletions src/main/java/com/silvermoon/boxplusplus/common/BoxModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,11 @@ public static int[] transMachinesToModule(BoxRoutings routing) {
2, 0 };
case "multimachine.multifurnace", "industrialthermalcentrifuge.controller.tier.single", "industrialarcfurnace.controller.tier.single", "industrialalloysmelter.controller.tier.single" -> new int[] {
3, 0 };
case "industrialmultimachine.controller.tier.single" -> new int[]{4, 0};
case "industrialrockcrusher.controller.tier.single", "industrialfluidheater.controller.tier.single", "ompressor" ->
new int[]{
5, 0};
case "industrialcuttingmachine.controller.tier.01", "industrialmacerator.controller.tier.single", "industrialbender.controller.tier.single", "industrialextruder.controller.tier.single", "industrialwiremill.controller.tier.single", "industrialhammer.controller.tier.single" ->
new int[]{
6, 0};
case "industrialmultimachine.controller.tier.single" -> new int[] { 4, 0 };
case "industrialrockcrusher.controller.tier.single", "industrialfluidheater.controller.tier.single", "ompressor" -> new int[] {
5, 0 };
case "industrialcuttingmachine.controller.tier.01", "industrialmacerator.controller.tier.single", "industrialbender.controller.tier.single", "industrialextruder.controller.tier.single", "industrialwiremill.controller.tier.single", "industrialhammer.controller.tier.single" -> new int[] {
6, 0 };
case "industrialwashplant.controller.tier.single", "industrialsifter.controller.tier.single", "industrialcentrifuge.controller.tier.single", "industrialelectrolyzer.controller.tier.single", "digester", "basicmachine.electromagneticseparator.tier.06" -> new int[] {
7, 0 };
case "industrialcokeoven.controller.tier.single", "multimachine.pyro", "multimachine.vacuumfreezer", "multimachine.adv.industrialfreezer" -> new int[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void addRingRecipe() {
GT_OreDictUnificator.get(OrePrefixes.pipeMedium, Materials.Titanium, 64),
GT_OreDictUnificator.get(OrePrefixes.rotor, Materials.Titanium, 64),
ItemList.Field_Generator_IV.get(4),
new Object[]{OrePrefixes.circuit.get(Materials.Ultimate), 4})
new Object[] { OrePrefixes.circuit.get(Materials.Ultimate), 4 })
.fluidInputs(FluidRegistry.getFluidStack("molten.tanmolyium beta-c", 51840))
.eut(TierEU.RECIPE_LuV)
.duration(1200)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class GTMachineBox extends GT_MetaTileEntity_ExtendedPowerMultiBlockBase<
public String userUUID;
public boolean debug = false;
public static IStructureDefinition<GTMachineBox> STRUCTURE_DEFINITION;
//The spotless made my structure a mess. Shit.
// The spotless made my structure a mess. Shit.
static {
StructureDefinition.Builder<GTMachineBox> A = IStructureDefinition.<GTMachineBox>builder()
.addShape(
Expand Down Expand Up @@ -1547,7 +1547,13 @@ public void checkRouting(EntityPlayer player) {
ItemStack out = fox.spiteful.avaritia.crafting.CompressorManager.getOutput(item);
if (out != null) {
out.stackSize = fox.spiteful.avaritia.crafting.CompressorManager.getCost(item);
routingMap.add(new BoxRoutings(item, out, inputBus.getStackInSlot(i), TierEU.RECIPE_ZPM, TickTime.MINUTE));
routingMap.add(
new BoxRoutings(
item,
out,
inputBus.getStackInSlot(i),
TierEU.RECIPE_ZPM,
TickTime.MINUTE));
routingStatus = 0;
return;
}
Expand Down Expand Up @@ -2482,10 +2488,12 @@ protected ModularWindow createInitialingWindow(final EntityPlayer player) {
builder.setGuiTint(getGUIColorization());
Synchronize(builder);
builder.widget(
new DrawableWidget().setDrawable(GT_UITextures.OVERLAY_BUTTON_ARROW_GREEN_UP)
.setPos(5, 5)
.setSize(16, 16))
.widget(new TextWidget(i18n("tile.boxplusplus.boxUI.05") + i18n("tile.boxplusplus.boxUI.06") + maxRouting).setPos(25, 9))
new DrawableWidget().setDrawable(GT_UITextures.OVERLAY_BUTTON_ARROW_GREEN_UP)
.setPos(5, 5)
.setSize(16, 16))
.widget(
new TextWidget(i18n("tile.boxplusplus.boxUI.05") + i18n("tile.boxplusplus.boxUI.06") + maxRouting)
.setPos(25, 9))
.widget(new TextWidget(i18n("tile.boxplusplus.boxUI.40") + maxParallel).setPos(170, 9))
.widget(
ButtonWidget.closeWindowButton(true)
Expand Down Expand Up @@ -3075,7 +3083,7 @@ protected ModularWindow createFinalRecipeWindow(final EntityPlayer player) {
player.closeScreen();
GT_UIInfos.openGTTileEntityUI(getBaseMetaTileEntity(), player);
}
})
})
.setSize(20, 20)
.setBackground(() -> {
List<UITexture> UI = new ArrayList<>();
Expand All @@ -3094,7 +3102,7 @@ protected ModularWindow createFinalRecipeWindow(final EntityPlayer player) {
widget.getContext()
.openSyncedWindow(10);
}
})
})
.setSize(20, 20)
.setBackground(() -> {
List<UITexture> UI = new ArrayList<>();
Expand Down

0 comments on commit 20aa66e

Please sign in to comment.