fix checkStyle
This commit is contained in:
parent
7a542e2102
commit
e68b197e7e
3 changed files with 8 additions and 16 deletions
|
@ -10,8 +10,6 @@ package buildcraft.transport;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.BitSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.BiMap;
|
||||
|
@ -525,16 +523,16 @@ public final class Gate implements IGate {
|
|||
}
|
||||
|
||||
public List<ITrigger> getAllValidTriggers() {
|
||||
ArrayList<ITrigger> triggers = new ArrayList<ITrigger>(64);
|
||||
triggers.addAll(StatementManager.getPipeTriggers(pipe.container));
|
||||
ArrayList<ITrigger> allTriggers = new ArrayList<ITrigger>(64);
|
||||
allTriggers.addAll(StatementManager.getPipeTriggers(pipe.container));
|
||||
|
||||
for (ForgeDirection o : ForgeDirection.VALID_DIRECTIONS) {
|
||||
TileEntity tile = pipe.container.getTile(o);
|
||||
Block block = pipe.container.getBlock(o);
|
||||
triggers.addAll(StatementManager.getNeighborTriggers(block, tile));
|
||||
allTriggers.addAll(StatementManager.getNeighborTriggers(block, tile));
|
||||
}
|
||||
|
||||
return triggers;
|
||||
return allTriggers;
|
||||
}
|
||||
|
||||
// ACTIONS
|
||||
|
@ -551,16 +549,16 @@ public final class Gate implements IGate {
|
|||
}
|
||||
|
||||
public List<IAction> getAllValidActions() {
|
||||
ArrayList<IAction> actions = new ArrayList<IAction>(64);
|
||||
actions.addAll(StatementManager.getPipeActions(pipe.container));
|
||||
ArrayList<IAction> allActions = new ArrayList<IAction>(64);
|
||||
allActions.addAll(StatementManager.getPipeActions(pipe.container));
|
||||
|
||||
for (ForgeDirection o : ForgeDirection.VALID_DIRECTIONS) {
|
||||
TileEntity tile = pipe.container.getTile(o);
|
||||
Block block = pipe.container.getBlock(o);
|
||||
actions.addAll(StatementManager.getNeighborActions(block, tile));
|
||||
allActions.addAll(StatementManager.getNeighborActions(block, tile));
|
||||
}
|
||||
|
||||
return actions;
|
||||
return allActions;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package buildcraft.transport;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -12,7 +11,6 @@ import net.minecraft.util.IIcon;
|
|||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import buildcraft.core.ItemBuildCraft;
|
||||
import buildcraft.core.utils.NBTUtils;
|
||||
import buildcraft.transport.BlockGenericPipe.Part;
|
||||
|
|
|
@ -14,16 +14,12 @@ import java.util.Iterator;
|
|||
import java.util.NavigableSet;
|
||||
import java.util.TreeSet;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.ICrafting;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
import buildcraft.api.gates.IAction;
|
||||
import buildcraft.api.gates.IActionParameter;
|
||||
import buildcraft.api.gates.IStatement;
|
||||
|
|
Loading…
Reference in a new issue