Skip to content

Commit eeaade7

Browse files
committed
spotlessApply
1 parent d7021cf commit eeaade7

File tree

20 files changed

+71
-67
lines changed

20 files changed

+71
-67
lines changed

src/main/java/com/github/gtexpert/gtbm/GTBMMod.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
package com.github.gtexpert.gtbm;
22

3-
import com.github.gtexpert.gtbm.api.ModValues;
4-
5-
import com.github.gtexpert.gtbm.api.util.Mods;
6-
7-
import gregtech.GTInternalTags;
8-
93
import net.minecraft.block.Block;
104
import net.minecraft.item.Item;
115
import net.minecraft.item.crafting.IRecipe;
@@ -17,7 +11,11 @@
1711
import net.minecraftforge.fml.common.eventhandler.EventPriority;
1812
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
1913

14+
import gregtech.GTInternalTags;
15+
16+
import com.github.gtexpert.gtbm.api.ModValues;
2017
import com.github.gtexpert.gtbm.api.util.ModLog;
18+
import com.github.gtexpert.gtbm.api.util.Mods;
2119
import com.github.gtexpert.gtbm.module.ModuleManager;
2220
import com.github.gtexpert.gtbm.module.Modules;
2321

src/main/java/com/github/gtexpert/gtbm/api/gui/GTBMGuiTextures.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.github.gtexpert.gtbm.api.gui;
22

3-
import gregtech.api.gui.resources.SteamTexture;
43
import gregtech.api.gui.resources.TextureArea;
54

65
public class GTBMGuiTextures {

src/main/java/com/github/gtexpert/gtbm/api/util/ModUtility.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import java.util.Objects;
44
import java.util.Random;
55

6-
import com.github.gtexpert.gtbm.api.ModValues;
7-
86
import net.minecraft.item.ItemStack;
97
import net.minecraft.nbt.NBTTagCompound;
108
import net.minecraft.util.ResourceLocation;
@@ -23,6 +21,8 @@
2321
import gregtech.api.unification.stack.MaterialStack;
2422
import gregtech.common.items.MetaItems;
2523

24+
import com.github.gtexpert.gtbm.api.ModValues;
25+
2626
public class ModUtility {
2727

2828
public static @NotNull ItemStack getModItem(String modID, String itemName) {

src/main/java/com/github/gtexpert/gtbm/client/GTBMTextures.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.github.gtexpert.gtbm.client;
22

3-
import com.github.gtexpert.gtbm.api.ModValues;
4-
53
import net.minecraftforge.fml.common.Mod;
64
import net.minecraftforge.fml.relauncher.Side;
75

86
import gregtech.client.renderer.texture.cube.*;
97

8+
import com.github.gtexpert.gtbm.api.ModValues;
9+
1010
@Mod.EventBusSubscriber(modid = ModValues.MODID, value = Side.CLIENT)
1111
public class GTBMTextures {
1212

src/main/java/com/github/gtexpert/gtbm/common/GTBMConfigHolder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.github.gtexpert.gtbm.common;
22

3-
import com.github.gtexpert.gtbm.api.ModValues;
4-
53
import net.minecraftforge.common.config.Config;
64

5+
import com.github.gtexpert.gtbm.api.ModValues;
6+
77
@Config(modid = ModValues.MODID,
88
name = ModValues.MODID + "/" + ModValues.MODID,
99
category = "GregTech Bees Matrix")

src/main/java/com/github/gtexpert/gtbm/common/metatileentities/GTBMSimpleMachineMetaTileEntity.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import java.util.function.Function;
44

5-
import com.github.gtexpert.gtbm.api.gui.GTBMGuiTextures;
6-
75
import net.minecraft.entity.player.EntityPlayer;
86
import net.minecraft.util.ResourceLocation;
97

@@ -17,12 +15,14 @@
1715
import gregtech.api.recipes.RecipeMap;
1816
import gregtech.client.renderer.ICubeRenderer;
1917

18+
import com.github.gtexpert.gtbm.api.gui.GTBMGuiTextures;
19+
2020
public class GTBMSimpleMachineMetaTileEntity extends SimpleMachineMetaTileEntity {
2121

2222
private static final int FONT_HEIGHT = 9; // Minecraft's FontRenderer FONT_HEIGHT value
2323

2424
public GTBMSimpleMachineMetaTileEntity(ResourceLocation metaTileEntityId, RecipeMap<?> recipeMap,
25-
ICubeRenderer renderer, int tier, boolean hasFrontFacing) {
25+
ICubeRenderer renderer, int tier, boolean hasFrontFacing) {
2626
super(metaTileEntityId, recipeMap, renderer, tier, hasFrontFacing);
2727
}
2828

@@ -63,26 +63,27 @@ protected ModularUI.Builder createGuiTemplate(EntityPlayer player) {
6363
if (exportItems.getSlots() > 0) {
6464
builder.widget(new ToggleButtonWidget(leftButtonStartX, 62 + yOffset, 18, 18,
6565
GuiTextures.BUTTON_ITEM_OUTPUT, this::isAutoOutputItems, this::setAutoOutputItems)
66-
.setTooltipText("gregtech.gui.item_auto_output.tooltip")
67-
.shouldUseBaseBackground());
66+
.setTooltipText("gregtech.gui.item_auto_output.tooltip")
67+
.shouldUseBaseBackground());
6868
leftButtonStartX += 18;
6969
}
7070
if (exportFluids.getTanks() > 0) {
7171
builder.widget(new ToggleButtonWidget(leftButtonStartX, 62 + yOffset, 18, 18,
7272
GuiTextures.BUTTON_FLUID_OUTPUT, this::isAutoOutputFluids, this::setAutoOutputFluids)
73-
.setTooltipText("gregtech.gui.fluid_auto_output.tooltip")
74-
.shouldUseBaseBackground());
73+
.setTooltipText("gregtech.gui.fluid_auto_output.tooltip")
74+
.shouldUseBaseBackground());
7575
leftButtonStartX += 18;
7676
}
7777

7878
builder.widget(new CycleButtonWidget(leftButtonStartX, 62 + yOffset, 18, 18,
7979
workable.getAvailableOverclockingTiers(), workable::getOverclockTier, workable::setOverclockTier)
80-
.setTooltipHoverString("gregtech.gui.overclock.description")
81-
.setButtonTexture(GuiTextures.BUTTON_OVERCLOCK));
80+
.setTooltipHoverString("gregtech.gui.overclock.description")
81+
.setButtonTexture(GuiTextures.BUTTON_OVERCLOCK));
8282

8383
if (exportItems.getSlots() + exportFluids.getTanks() <= 9) {
8484
ImageWidget logo = new ImageWidget(152, 63 + yOffset, 17, 17,
85-
GTValues.XMAS.get() ? GTBMGuiTextures.GTBM_LOGO_XMAS : GTBMGuiTextures.GTBM_LOGO).setIgnoreColor(true);
85+
GTValues.XMAS.get() ? GTBMGuiTextures.GTBM_LOGO_XMAS : GTBMGuiTextures.GTBM_LOGO)
86+
.setIgnoreColor(true);
8687

8788
if (this.circuitInventory != null) {
8889
SlotWidget circuitSlot = new GhostCircuitSlotWidget(this.circuitInventory, 0, 124, 62 + yOffset)

src/main/java/com/github/gtexpert/gtbm/integration/binnies/BinniesModule.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
import com.github.gtexpert.gtbm.module.Modules;
1313

1414
@TModule(
15-
moduleID = Modules.MODULE_BINNIES,
16-
containerID = ModValues.MODID,
17-
modDependencies = { Mods.Names.FORESTRY, Mods.Names.GENETICS, Mods.Names.BOTANY,
18-
Mods.Names.EXTRA_BEES, Mods.Names.EXTRA_TREES },
19-
name = "GTBeesMatrix Binnie's Mods Integration",
20-
description = "Binnie's Mods Integration Module")
15+
moduleID = Modules.MODULE_BINNIES,
16+
containerID = ModValues.MODID,
17+
modDependencies = { Mods.Names.FORESTRY, Mods.Names.GENETICS, Mods.Names.BOTANY,
18+
Mods.Names.EXTRA_BEES, Mods.Names.EXTRA_TREES },
19+
name = "GTBeesMatrix Binnie's Mods Integration",
20+
description = "Binnie's Mods Integration Module")
2121
public class BinniesModule extends GTBMIntegrationSubmodule {
2222

2323
@Override

src/main/java/com/github/gtexpert/gtbm/integration/binnies/botany/BotanyModule.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
import com.github.gtexpert.gtbm.module.Modules;
1313

1414
@TModule(
15-
moduleID = Modules.MODULE_BOTANY,
16-
containerID = ModValues.MODID,
17-
modDependencies = { Mods.Names.FORESTRY, Mods.Names.BOTANY },
18-
name = "GTBeesMatrix Botany(Binnie's Mods) Integration",
19-
description = "Botany(Binnie's Mods) Integration Module")
15+
moduleID = Modules.MODULE_BOTANY,
16+
containerID = ModValues.MODID,
17+
modDependencies = { Mods.Names.FORESTRY, Mods.Names.BOTANY },
18+
name = "GTBeesMatrix Botany(Binnie's Mods) Integration",
19+
description = "Botany(Binnie's Mods) Integration Module")
2020
public class BotanyModule extends GTBMIntegrationSubmodule {
2121

2222
@Override

src/main/java/com/github/gtexpert/gtbm/integration/binnies/botany/recipes/BotanyItemsRecipe.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
public class BotanyItemsRecipe {
1818

1919
public static void init() {
20-
Enum<ForestryUtility.recipeMode> recipeMode = ForestryUtility.recipeMode.safeValueOf(ForestryConfigHolder.gameMode);
20+
Enum<ForestryUtility.recipeMode> recipeMode = ForestryUtility.recipeMode
21+
.safeValueOf(ForestryConfigHolder.gameMode);
2122

2223
// Botanist Database
2324
ModHandler.addShapelessNBTClearingRecipe("botanist_database_nbt",

src/main/java/com/github/gtexpert/gtbm/integration/binnies/extrabees/ExtraBeesModule.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
import com.github.gtexpert.gtbm.module.Modules;
1313

1414
@TModule(
15-
moduleID = Modules.MODULE_EXBEES,
16-
containerID = ModValues.MODID,
17-
modDependencies = { Mods.Names.FORESTRY, Mods.Names.EXTRA_BEES },
18-
name = "GTBeesMatrix Extra Bees(Binnie's Mods) Integration",
19-
description = "Extra Bees(Binnie's Mods) Integration Module")
15+
moduleID = Modules.MODULE_EXBEES,
16+
containerID = ModValues.MODID,
17+
modDependencies = { Mods.Names.FORESTRY, Mods.Names.EXTRA_BEES },
18+
name = "GTBeesMatrix Extra Bees(Binnie's Mods) Integration",
19+
description = "Extra Bees(Binnie's Mods) Integration Module")
2020
public class ExtraBeesModule extends GTBMIntegrationSubmodule {
2121

2222
@Override

0 commit comments

Comments
 (0)