mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
quick fix : optimize imports
This commit is contained in:
1 parent
ae363450b1
commit
cdc7dcf5d0
15 files changed
+4
-19
No files matched your search
@@ -12,7 +12,6 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.*;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.*;
|
||||
import net.minecraft.util.StatCollector;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ISpecialArmor;
|
||||
import tconstruct.library.TConstructRegistry;
|
||||
|
||||
@@ -28,9 +28,10 @@ public class TankLayerScan extends LogicComponent {
|
||||
protected CoordTuple returnStone;
|
||||
|
||||
private static final boolean debug = System.getenv("DBG_MANTLE_TankLayerScan") != null;
|
||||
private static final int MAX_LAYER_RECURSION_DEPTH = System.getProperty("os.arch").equals("amd64")
|
||||
? 4000
|
||||
: 2000; // Recursion causes overflows on 32-bit, so reduce if not 64-bit
|
||||
private static final int MAX_LAYER_RECURSION_DEPTH =
|
||||
System.getProperty("os.arch").equals("amd64")
|
||||
? 4000
|
||||
: 2000; // Recursion causes overflows on 32-bit, so reduce if not 64-bit
|
||||
|
||||
public TankLayerScan(TileEntity te, Block... ids) {
|
||||
assert te instanceof IMasterLogic : "TileEntity must be an instance of IMasterLogic";
|
||||
|
||||
@@ -4,7 +4,6 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import tconstruct.library.*;
|
||||
|
||||
/* Base class for harvest tools with each head having a different purpose */
|
||||
|
||||
|
||||
Reference in new issue
Block a user