Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Cleptomania committed Sep 24, 2024
1 parent 394ebef commit 4d339d4
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 39 deletions.
12 changes: 9 additions & 3 deletions src/main/java/gregtech/api/recipe/RecipeMaps.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.util.Comparator;
import java.util.Optional;

import gtPlusPlus.core.block.ModBlocks;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
Expand Down Expand Up @@ -87,6 +86,7 @@
import gregtech.nei.formatter.FusionSpecialValueFormatter;
import gregtech.nei.formatter.HeatingCoilSpecialValueFormatter;
import gregtech.nei.formatter.SimpleSpecialValueFormatter;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.item.ModItems;
import mods.railcraft.common.blocks.aesthetics.cube.EnumCube;
import mods.railcraft.common.items.RailcraftToolItems;
Expand Down Expand Up @@ -687,8 +687,14 @@ else if (Materials.PhasedIron.getMolten(1)
.setOutputs(aOutput1, aOutput2, Materials.Ash.getDust(aCoalAmount / 2))
.setDuration(aDuration * 20 / 3);
}
ItemStack cactusCokeBlock = new ItemStack(Item.getItemFromBlock(ModBlocks.blockCactusCoke), aCoalAmount * 2, 0);
ItemStack sugarCokeBlock = new ItemStack(Item.getItemFromBlock(ModBlocks.blockSugarCoke), aCoalAmount * 2, 0);
ItemStack cactusCokeBlock = new ItemStack(
Item.getItemFromBlock(ModBlocks.blockCactusCoke),
aCoalAmount * 2,
0);
ItemStack sugarCokeBlock = new ItemStack(
Item.getItemFromBlock(ModBlocks.blockSugarCoke),
aCoalAmount * 2,
0);
coll.derive()
.setInputs(aInput1, aInput2, cactusCokeBlock)
.setOutputs(aOutput1, aOutput2, Materials.Ash.getDust(aCoalAmount * 2))
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/gtPlusPlus/core/block/ModBlocks.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package gtPlusPlus.core.block;

import gtPlusPlus.core.block.fuel.BlockCactusCharcoal;
import gtPlusPlus.core.block.fuel.BlockCactusCoke;
import gtPlusPlus.core.block.fuel.BlockSugarCharcoal;
import gtPlusPlus.core.block.fuel.BlockSugarCoke;
import net.minecraft.block.Block;
import net.minecraftforge.fluids.Fluid;

import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.block.fuel.BlockCactusCharcoal;
import gtPlusPlus.core.block.fuel.BlockCactusCoke;
import gtPlusPlus.core.block.fuel.BlockSugarCharcoal;
import gtPlusPlus.core.block.fuel.BlockSugarCoke;
import gtPlusPlus.core.block.general.BlockCompressedObsidian;
import gtPlusPlus.core.block.general.BlockFluidTankInfinite;
import gtPlusPlus.core.block.general.BlockHellFire;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package gtPlusPlus.core.block.fuel;

import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import static gregtech.api.enums.Mods.GTPlusPlus;

import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -13,9 +12,11 @@
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;

import java.util.List;

import static gregtech.api.enums.Mods.GTPlusPlus;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;

public class BlockCactusCharcoal extends Block {

Expand Down
17 changes: 9 additions & 8 deletions src/main/java/gtPlusPlus/core/block/fuel/BlockCactusCoke.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package gtPlusPlus.core.block.fuel;

import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import static gregtech.api.enums.Mods.GTPlusPlus;

import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -13,9 +12,11 @@
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;

import java.util.List;

import static gregtech.api.enums.Mods.GTPlusPlus;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;

public class BlockCactusCoke extends Block {

Expand Down
17 changes: 9 additions & 8 deletions src/main/java/gtPlusPlus/core/block/fuel/BlockSugarCharcoal.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package gtPlusPlus.core.block.fuel;

import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import static gregtech.api.enums.Mods.GTPlusPlus;

import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -13,9 +12,11 @@
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;

import java.util.List;

import static gregtech.api.enums.Mods.GTPlusPlus;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;

public class BlockSugarCharcoal extends Block {

Expand Down
17 changes: 9 additions & 8 deletions src/main/java/gtPlusPlus/core/block/fuel/BlockSugarCoke.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package gtPlusPlus.core.block.fuel;

import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import static gregtech.api.enums.Mods.GTPlusPlus;

import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
Expand All @@ -13,9 +12,11 @@
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;

import java.util.List;

import static gregtech.api.enums.Mods.GTPlusPlus;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gtPlusPlus.core.item.base.itemblock.ItemBlockMeta;
import gtPlusPlus.core.util.minecraft.ItemUtils;

public class BlockSugarCoke extends Block {

Expand Down

0 comments on commit 4d339d4

Please sign in to comment.