fix style
This commit is contained in:
parent
e5904e0316
commit
777fee2092
10 changed files with 42 additions and 18 deletions
11
api/buildcraft/api/boards/package-info.java
Normal file
11
api/buildcraft/api/boards/package-info.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
||||
* http://www.mod-buildcraft.com
|
||||
*
|
||||
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
||||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
@API(apiVersion = "1.0", owner = "BuildCraftAPI|core", provides = "BuildCraftAPI|boards")
|
||||
package buildcraft.api.boards;
|
||||
import cpw.mods.fml.common.API;
|
11
api/buildcraft/api/events/package-info.java
Normal file
11
api/buildcraft/api/events/package-info.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
||||
* http://www.mod-buildcraft.com
|
||||
*
|
||||
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
||||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
@API(apiVersion = "1.0", owner = "BuildCraftAPI|core", provides = "BuildCraftAPI|events")
|
||||
package buildcraft.api.events;
|
||||
import cpw.mods.fml.common.API;
|
|
@ -8,12 +8,9 @@
|
|||
*/
|
||||
package buildcraft.api.filler;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import buildcraft.api.gates.IAction;
|
||||
import java.util.Collection;
|
||||
|
||||
public interface IFillerRegistry {
|
||||
|
||||
void addPattern(IFillerPattern pattern);
|
||||
|
||||
IFillerPattern getPattern(String patternName);
|
||||
|
@ -21,6 +18,6 @@ public interface IFillerRegistry {
|
|||
IFillerPattern getNextPattern(IFillerPattern currentPattern);
|
||||
|
||||
IFillerPattern getPreviousPattern(IFillerPattern currentPattern);
|
||||
|
||||
Set<? extends IAction> getActions();
|
||||
|
||||
Collection<IFillerPattern> getPatterns();
|
||||
}
|
||||
|
|
11
api/buildcraft/api/robots/package-info.java
Normal file
11
api/buildcraft/api/robots/package-info.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
||||
* http://www.mod-buildcraft.com
|
||||
*
|
||||
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
||||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
@API(apiVersion = "1.0", owner = "BuildCraftAPI|core", provides = "BuildCraftAPI|robots")
|
||||
package buildcraft.api.robots;
|
||||
import cpw.mods.fml.common.API;
|
|
@ -34,7 +34,7 @@ public class BuildersActionProvider implements IActionProvider {
|
|||
public Collection<IAction> getNeighborActions(Block block, TileEntity tile) {
|
||||
LinkedList<IAction> actions = new LinkedList<IAction>();
|
||||
if (tile instanceof TileFiller) {
|
||||
for(IFillerPattern p : FillerManager.registry.getPatterns()) {
|
||||
for (IFillerPattern p : FillerManager.registry.getPatterns()) {
|
||||
if (p instanceof FillerPattern) {
|
||||
if (!actionMap.containsKey(p.getUniqueTag())) {
|
||||
actionMap.put(p.getUniqueTag(), new ActionFiller((FillerPattern) p));
|
||||
|
|
|
@ -43,11 +43,11 @@ import buildcraft.api.core.StackKey;
|
|||
import buildcraft.builders.TileBuilder;
|
||||
import buildcraft.core.builders.BuildingSlot;
|
||||
import buildcraft.core.builders.BuildingSlotBlock;
|
||||
import buildcraft.core.builders.BuildingSlotBlock.Mode;
|
||||
import buildcraft.core.builders.BuildingSlotEntity;
|
||||
import buildcraft.core.builders.BuildingSlotIterator;
|
||||
import buildcraft.core.builders.IBuildingItemsProvider;
|
||||
import buildcraft.core.builders.TileAbstractBuilder;
|
||||
import buildcraft.core.builders.BuildingSlotBlock.Mode;
|
||||
import buildcraft.core.inventory.InventoryCopy;
|
||||
import buildcraft.core.inventory.InventoryIterator;
|
||||
import buildcraft.core.inventory.StackHelper;
|
||||
|
|
|
@ -20,9 +20,9 @@ import buildcraft.api.core.BuildCraftAPI;
|
|||
import buildcraft.api.core.IInvSlot;
|
||||
import buildcraft.core.builders.BuildingSlot;
|
||||
import buildcraft.core.builders.BuildingSlotBlock;
|
||||
import buildcraft.core.builders.BuildingSlotBlock.Mode;
|
||||
import buildcraft.core.builders.BuildingSlotIterator;
|
||||
import buildcraft.core.builders.TileAbstractBuilder;
|
||||
import buildcraft.core.builders.BuildingSlotBlock.Mode;
|
||||
import buildcraft.core.inventory.InventoryIterator;
|
||||
import buildcraft.core.utils.BlockUtil;
|
||||
|
||||
|
|
|
@ -10,16 +10,11 @@ package buildcraft.core.builders.patterns;
|
|||
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
|
||||
import buildcraft.api.filler.IFillerPattern;
|
||||
import buildcraft.api.filler.IFillerRegistry;
|
||||
import buildcraft.builders.triggers.ActionFiller;
|
||||
|
||||
public class FillerRegistry implements IFillerRegistry {
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ import java.util.Collection;
|
|||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import buildcraft.BuildCraftCore;
|
||||
import buildcraft.api.recipes.IFlexibleRecipe;
|
||||
|
|
|
@ -10,13 +10,13 @@ package buildcraft.core.render;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import buildcraft.core.StackAtPosition;
|
||||
import buildcraft.core.builders.BuildingItem;
|
||||
import buildcraft.core.builders.IBuildingItemsProvider;
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
import net.minecraft.client.renderer.entity.RenderManager;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import buildcraft.core.StackAtPosition;
|
||||
import buildcraft.core.builders.BuildingItem;
|
||||
import buildcraft.core.builders.IBuildingItemsProvider;
|
||||
|
||||
public class RenderBuildingItems {
|
||||
|
||||
|
|
Loading…
Reference in a new issue