@@ -64,7 +64,7 @@ If you are still willing to contribute to this project, you can contribute via [
|
|||||||
6. Push to your fork `git push`
|
6. Push to your fork `git push`
|
||||||
7. Create a Pull-Request on GitHub
|
7. Create a Pull-Request on GitHub
|
||||||
|
|
||||||
If you are only doing single file pull requests, GitHub supports using a quick way without the need of cloning your fork.
|
If you are only doing single file pull requests, GitHub supports using a quick way without the need of cloning your fork. Also read up about [synching](https://help.github.com/articles/syncing-a-fork) if you plan to contribute on regular basis.
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule src/api/java/appeng/api updated: 74e4e50c76...65dfd7ace7
@@ -79,7 +79,7 @@ public class GuiSecurity extends GuiMEMonitorable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class GuiImgButton extends GuiButton implements ITooltip
|
|||||||
return d.setting.equals( setting ) && d.value.equals( value );
|
return d.setting.equals( setting ) && d.value.equals( value );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
class BtnAppearance
|
class BtnAppearance
|
||||||
{
|
{
|
||||||
@@ -65,7 +65,7 @@ public class GuiImgButton extends GuiButton implements ITooltip
|
|||||||
public int index;
|
public int index;
|
||||||
public String DisplayName;
|
public String DisplayName;
|
||||||
public String DisplayValue;
|
public String DisplayValue;
|
||||||
};
|
}
|
||||||
|
|
||||||
public boolean halfSize = false;
|
public boolean halfSize = false;
|
||||||
public String FillVar;
|
public String FillVar;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ public class GuiProgressBar extends GuiButton implements ITooltip
|
|||||||
public enum Direction
|
public enum Direction
|
||||||
{
|
{
|
||||||
HORIZONTAL, VERTICAL
|
HORIZONTAL, VERTICAL
|
||||||
};
|
}
|
||||||
|
|
||||||
private ResourceLocation texture;
|
private ResourceLocation texture;
|
||||||
private int fill_u;
|
private int fill_u;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ public class BusRenderHelper implements IPartRenderHelper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
BoundBoxCalculator bbc = new BoundBoxCalculator();
|
BoundBoxCalculator bbc = new BoundBoxCalculator();
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ public class RenderBlocksWorkaround extends RenderBlocks
|
|||||||
lightHash = 0;
|
lightHash = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
private LightingCache lightState = new LightingCache();
|
private LightingCache lightState = new LightingCache();
|
||||||
|
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ public class ContainerCellWorkbench extends ContainerUpgradeable
|
|||||||
{
|
{
|
||||||
return getCellUpgradeInventory().isItemValidForSlot( i, itemstack );
|
return getCellUpgradeInventory().isItemValidForSlot( i, itemstack );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
IInventory UpgradeInventoryWrapper;
|
IInventory UpgradeInventoryWrapper;
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ public class ContainerInterfaceTerminal extends AEBaseContainer
|
|||||||
IInventory server;
|
IInventory server;
|
||||||
public long sortBy;
|
public long sortBy;
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
Map<IInterfaceHost, InvTracker> diList = new HashMap();
|
Map<IInterfaceHost, InvTracker> diList = new HashMap();
|
||||||
Map<Long, InvTracker> byId = new HashMap();
|
Map<Long, InvTracker> byId = new HashMap();
|
||||||
@@ -89,7 +89,7 @@ public class ContainerInterfaceTerminal extends AEBaseContainer
|
|||||||
return itemstack != null && itemstack.getItem() instanceof ItemEncodedPattern;
|
return itemstack != null && itemstack.getItem() instanceof ItemEncodedPattern;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAction(EntityPlayerMP player, InventoryAction action, int slot, long id)
|
public void doAction(EntityPlayerMP player, InventoryAction action, int slot, long id)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ public class AppEngSlot extends Slot
|
|||||||
public enum hasCalculatedValidness
|
public enum hasCalculatedValidness
|
||||||
{
|
{
|
||||||
NotAvailable, Valid, Invalid
|
NotAvailable, Valid, Invalid
|
||||||
};
|
}
|
||||||
|
|
||||||
public boolean isDraggable = true;
|
public boolean isDraggable = true;
|
||||||
public boolean isPlayerSide = false;
|
public boolean isPlayerSide = false;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ public class SlotPlayerInv extends AppEngSlot
|
|||||||
|
|
||||||
public SlotPlayerInv(IInventory par1iInventory, int par2, int par3, int par4) {
|
public SlotPlayerInv(IInventory par1iInventory, int par2, int par3, int par4) {
|
||||||
super( par1iInventory, par2, par3, par4 );
|
super( par1iInventory, par2, par3, par4 );
|
||||||
;
|
|
||||||
isPlayerSide = true;
|
isPlayerSide = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public class SlotRestrictedInput extends AppEngSlot
|
|||||||
private PlacableItemType(int o) {
|
private PlacableItemType(int o) {
|
||||||
IIcon = o;
|
IIcon = o;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getSlotStackLimit()
|
public int getSlotStackLimit()
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class WorldGenRegistry implements IWorldGen
|
|||||||
HashSet<Class<? extends WorldProvider>> badProviders = new HashSet();
|
HashSet<Class<? extends WorldProvider>> badProviders = new HashSet();
|
||||||
HashSet<Integer> badDimensions = new HashSet();
|
HashSet<Integer> badDimensions = new HashSet();
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
TypeSet[] types;
|
TypeSet[] types;
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,6 @@ public class AppEngPacketHandlerBase
|
|||||||
return AppEngPacketHandlerBase.reverseLookup.get( c );
|
return AppEngPacketHandlerBase.reverseLookup.get( c );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
|||||||
|
|
||||||
public long perOp = 0;
|
public long perOp = 0;
|
||||||
public long times = 0;
|
public long times = 0;
|
||||||
};
|
}
|
||||||
|
|
||||||
HashMap<String, twoIntegers> opsAndMultiplier = new HashMap();
|
HashMap<String, twoIntegers> opsAndMultiplier = new HashMap();
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class CraftingWatcher implements ICraftingWatcher
|
|||||||
interestIterator.remove();
|
interestIterator.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
CraftingGridCache gsc;
|
CraftingGridCache gsc;
|
||||||
ICraftingWatcherHost myObject;
|
ICraftingWatcherHost myObject;
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ final public class EntityChargedQuartz extends EntityItem
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
transformTime = 0;
|
transformTime = 0;
|
||||||
};
|
}
|
||||||
|
|
||||||
public boolean transform()
|
public boolean transform()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
|
|||||||
{
|
{
|
||||||
canUpdate = false;
|
canUpdate = false;
|
||||||
cb.removeFromWorld();
|
cb.removeFromWorld();
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canConnectRedstone(int side)
|
public boolean canConnectRedstone(int side)
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class FMPPlacementHelper implements IPartHost
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
final private static CableBusStorage nullStorage = new NullStorage();
|
final private static CableBusStorage nullStorage = new NullStorage();
|
||||||
|
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
|
|||||||
return super.extractItems( request, type, src );
|
return super.extractItems( request, type, src );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
private boolean usePlan(int x, IAEItemStack itemStack)
|
private boolean usePlan(int x, IAEItemStack itemStack)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public class MeteoritePlacer
|
|||||||
put( w, x, y, z, Platform.air );
|
put( w, x, y, z, Platform.air );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
private class FalloutCopy extends Fallout
|
private class FalloutCopy extends Fallout
|
||||||
{
|
{
|
||||||
@@ -102,7 +102,7 @@ public class MeteoritePlacer
|
|||||||
else
|
else
|
||||||
getOther( w, x, y, z, a - 0.1 );
|
getOther( w, x, y, z, a - 0.1 );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
private class FalloutSand extends FalloutCopy
|
private class FalloutSand extends FalloutCopy
|
||||||
{
|
{
|
||||||
@@ -122,7 +122,7 @@ public class MeteoritePlacer
|
|||||||
put( w, x, y, z, Blocks.glass );
|
put( w, x, y, z, Blocks.glass );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
private class FalloutSnow extends FalloutCopy
|
private class FalloutSnow extends FalloutCopy
|
||||||
{
|
{
|
||||||
@@ -144,7 +144,7 @@ public class MeteoritePlacer
|
|||||||
put( w, x, y, z, Blocks.ice );
|
put( w, x, y, z, Blocks.ice );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
public interface IMeteoriteWorld
|
public interface IMeteoriteWorld
|
||||||
{
|
{
|
||||||
@@ -175,7 +175,7 @@ public class MeteoritePlacer
|
|||||||
|
|
||||||
void done();
|
void done();
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
static public class StandardWorld implements IMeteoriteWorld
|
static public class StandardWorld implements IMeteoriteWorld
|
||||||
{
|
{
|
||||||
@@ -369,7 +369,7 @@ public class MeteoritePlacer
|
|||||||
{
|
{
|
||||||
return Math.min( in, (cz + 1) << 4 );
|
return Math.min( in, (cz + 1) << 4 );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
int minBLocks = 200;
|
int minBLocks = 200;
|
||||||
HashSet<Block> validSpawn = new HashSet();
|
HashSet<Block> validSpawn = new HashSet();
|
||||||
|
|||||||
@@ -72,12 +72,12 @@ public class PatternHelper implements ICraftingPatternDetails, Comparable<Patter
|
|||||||
return b.slot == slot && b.ref == ref;
|
return b.slot == slot && b.ref == ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
enum TestStatus
|
enum TestStatus
|
||||||
{
|
{
|
||||||
ACCEPT, DECLINE, TEST
|
ACCEPT, DECLINE, TEST
|
||||||
};
|
}
|
||||||
|
|
||||||
HashSet<TestLookup> failCache = new HashSet();
|
HashSet<TestLookup> failCache = new HashSet();
|
||||||
HashSet<TestLookup> passCache = new HashSet();
|
HashSet<TestLookup> passCache = new HashSet();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ final public class MeteoriteWorldGen implements IWorldGenerator
|
|||||||
distance = Double.MAX_VALUE;
|
distance = Double.MAX_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void generate(Random r, int chunkX, int chunkZ, World w, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)
|
public void generate(Random r, int chunkX, int chunkZ, World w, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ final public class QuartzWorldGen implements IWorldGenerator
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
oreNormal = oreCharged = null;
|
oreNormal = oreCharged = null;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void generate(Random r, int chunkX, int chunkZ, World w, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)
|
public void generate(Random r, int chunkX, int chunkZ, World w, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public class TickHandler
|
|||||||
networks = new NetworkList();
|
networks = new NetworkList();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
final public static TickHandler instance = new TickHandler();
|
final public static TickHandler instance = new TickHandler();
|
||||||
|
|
||||||
@@ -81,7 +81,7 @@ public class TickHandler
|
|||||||
ticksLeft = ticks;
|
ticksLeft = ticks;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
final private HashMap<Integer, PlayerColor> cliPlayerColors = new HashMap();
|
final private HashMap<Integer, PlayerColor> cliPlayerColors = new HashMap();
|
||||||
final private HashMap<Integer, PlayerColor> srvPlayerColors = new HashMap();
|
final private HashMap<Integer, PlayerColor> srvPlayerColors = new HashMap();
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public class RB extends BaseModule implements IRB
|
|||||||
internal.setOrientation( Forward, Up );
|
internal.setOrientation( Forward, Up );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
public static RB instance;
|
public static RB instance;
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class ItemMultiPart extends AEBaseItem implements IPartItem, IItemGroup
|
|||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
IIcon ico;
|
IIcon ico;
|
||||||
};
|
}
|
||||||
|
|
||||||
HashMap<Integer, PartTypeIst> dmgToPart = new HashMap();
|
HashMap<Integer, PartTypeIst> dmgToPart = new HashMap();
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
|
|||||||
oreToColor.put( OreDictionary.getOreID( "dye" + col.name() ), col );
|
oreToColor.put( OreDictionary.getOreID( "dye" + col.name() ), col );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
public ToolColorApplicator() {
|
public ToolColorApplicator() {
|
||||||
super( ToolColorApplicator.class, null );
|
super( ToolColorApplicator.class, null );
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
|
|||||||
return blk == ((Combo) obj).blk && meta == ((Combo) obj).meta;
|
return blk == ((Combo) obj).blk && meta == ((Combo) obj).meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
static private Hashtable<Combo, InWorldToolOperationResult> heatUp;
|
static private Hashtable<Combo, InWorldToolOperationResult> heatUp;
|
||||||
static private Hashtable<Combo, InWorldToolOperationResult> coolDown;
|
static private Hashtable<Combo, InWorldToolOperationResult> coolDown;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class AERootPoweredItem extends AEBaseItem implements IAEItemPowerStorage
|
|||||||
private enum batteryOperation
|
private enum batteryOperation
|
||||||
{
|
{
|
||||||
STORAGE, INJECT, EXTRACT
|
STORAGE, INJECT, EXTRACT
|
||||||
};
|
}
|
||||||
|
|
||||||
public double maxStoredPower = 200000;
|
public double maxStoredPower = 200000;
|
||||||
|
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ class GridSplitDetector implements IGridVisitor
|
|||||||
|
|
||||||
return !pivotFound;
|
return !pivotFound;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class NetworkEventBus
|
|||||||
|
|
||||||
private static final long serialVersionUID = -3079021487019171205L;
|
private static final long serialVersionUID = -3079021487019171205L;
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
class EventMethod
|
class EventMethod
|
||||||
{
|
{
|
||||||
@@ -52,7 +52,7 @@ public class NetworkEventBus
|
|||||||
if ( e.isCanceled() )
|
if ( e.isCanceled() )
|
||||||
throw new NetworkEventDone();
|
throw new NetworkEventDone();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
class MENetworkEventInfo
|
class MENetworkEventInfo
|
||||||
{
|
{
|
||||||
@@ -69,7 +69,7 @@ public class NetworkEventBus
|
|||||||
for (EventMethod em : methods)
|
for (EventMethod em : methods)
|
||||||
em.invoke( obj, e );
|
em.invoke( obj, e );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
private static Set<Class> readClasses = new HashSet();
|
private static Set<Class> readClasses = new HashSet();
|
||||||
private static Hashtable<Class<? extends MENetworkEvent>, Hashtable<Class, MENetworkEventInfo>> events = new Hashtable();
|
private static Hashtable<Class<? extends MENetworkEvent>, Hashtable<Class, MENetworkEventInfo>> events = new Hashtable();
|
||||||
|
|||||||
+1
-1
@@ -128,7 +128,7 @@ public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper
|
|||||||
// no..
|
// no..
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ImmutableSet<ICraftingCPU> getCpus()
|
public ImmutableSet<ICraftingCPU> getCpus()
|
||||||
|
|||||||
+2
-2
@@ -90,7 +90,7 @@ public class GridStorageCache implements IStorageGrid
|
|||||||
postChangesToNetwork( channel, up_or_down, list, src );
|
postChangesToNetwork( channel, up_or_down, list, src );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
private class CellChangeTracker
|
private class CellChangeTracker
|
||||||
{
|
{
|
||||||
@@ -107,7 +107,7 @@ public class GridStorageCache implements IStorageGrid
|
|||||||
for (CellChangeTrackerRecord rec : data)
|
for (CellChangeTrackerRecord rec : data)
|
||||||
rec.applyChanges();
|
rec.applyChanges();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void registerCellProvider(ICellProvider provider)
|
public void registerCellProvider(ICellProvider provider)
|
||||||
|
|||||||
+1
-1
@@ -39,4 +39,4 @@ public class Connections implements Callable
|
|||||||
destroy = false;
|
destroy = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|||||||
+1
-1
@@ -73,4 +73,4 @@ public class TickTracker implements Comparable<TickTracker>
|
|||||||
if ( dc != null )
|
if ( dc != null )
|
||||||
crashreportcategory.addCrashSection( "Location", dc );
|
crashreportcategory.addCrashSection( "Location", dc );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
|||||||
|
|
||||||
long value;
|
long value;
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* crafting job info
|
* crafting job info
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class SpatialPylonCluster implements IAECluster
|
|||||||
public enum Axis
|
public enum Axis
|
||||||
{
|
{
|
||||||
X, Y, Z, UNFORMED
|
X, Y, Z, UNFORMED
|
||||||
};
|
}
|
||||||
|
|
||||||
final public DimensionalCoord min;
|
final public DimensionalCoord min;
|
||||||
final public DimensionalCoord max;
|
final public DimensionalCoord max;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class EnergyWatcher implements IEnergyWatcher
|
|||||||
interestIterator.remove();
|
interestIterator.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
EnergyGridCache gsc;
|
EnergyGridCache gsc;
|
||||||
IEnergyWatcherHost myObject;
|
IEnergyWatcherHost myObject;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ public class GenericInterestManager<T>
|
|||||||
stack = myStack;
|
stack = myStack;
|
||||||
iw = watcher;
|
iw = watcher;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
private final SetMultimap<IAEStack, T> container;
|
private final SetMultimap<IAEStack, T> container;
|
||||||
private LinkedList<SavedTransactions> transactions = null;
|
private LinkedList<SavedTransactions> transactions = null;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class PathSegment
|
|||||||
|
|
||||||
private static final long serialVersionUID = 810456465120286110L;
|
private static final long serialVersionUID = 810456465120286110L;
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
PathGridCache pgc;
|
PathGridCache pgc;
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class ItemWatcher implements IStackWatcher
|
|||||||
interestIterator.remove();
|
interestIterator.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
GridStorageCache gsc;
|
GridStorageCache gsc;
|
||||||
IStackWatcherHost myObject;
|
IStackWatcherHost myObject;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class MEMonitorIInventory implements IMEInventory<IAEItemStack>, IMEMonit
|
|||||||
|
|
||||||
final ItemStack itemStack;
|
final ItemStack itemStack;
|
||||||
final IAEItemStack aeStack;
|
final IAEItemStack aeStack;
|
||||||
};
|
}
|
||||||
|
|
||||||
final InventoryAdaptor adaptor;
|
final InventoryAdaptor adaptor;
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ public class PartPlacement
|
|||||||
public enum PlaceType
|
public enum PlaceType
|
||||||
{
|
{
|
||||||
PLACE_ITEM, INTERACT_FIRST_PASS, INTERACT_SECOND_PASS
|
PLACE_ITEM, INTERACT_FIRST_PASS, INTERACT_SECOND_PASS
|
||||||
};
|
}
|
||||||
|
|
||||||
public static boolean place(ItemStack held, int x, int y, int z, int face, EntityPlayer player, World world, PlaceType pass, int depth)
|
public static boolean place(ItemStack held, int x, int y, int z, int face, EntityPlayer player, World world, PlaceType pass, int depth)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
|
|||||||
cenz = baseZ + 0.5;
|
cenz = baseZ + 0.5;
|
||||||
|
|
||||||
baseY += 7.0 / 16.0;
|
baseY += 7.0 / 16.0;
|
||||||
;
|
|
||||||
double par10 = 0;
|
double par10 = 0;
|
||||||
// double par11 = 0;
|
// double par11 = 0;
|
||||||
double Zero = 0;
|
double Zero = 0;
|
||||||
@@ -541,7 +541,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
|
|||||||
this.addVertexWithUV( var36, baseY + 1.0D, baseZ - var44, (double) var17, (double) var18 );
|
this.addVertexWithUV( var36, baseY + 1.0D, baseZ - var44, (double) var17, (double) var18 );
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean status = false;;
|
boolean status = false;
|
||||||
|
|
||||||
private boolean isLevelEmitterOn()
|
private boolean isLevelEmitterOn()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
|||||||
super.readFromNBT( data );
|
super.readFromNBT( data );
|
||||||
Config.readFromNBT( data, "config" );
|
Config.readFromNBT( data, "config" );
|
||||||
priority = data.getInteger( "priority" );
|
priority = data.getInteger( "priority" );
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<IMEInventoryHandler> getCellArray(StorageChannel channel)
|
public List<IMEInventoryHandler> getCellArray(StorageChannel channel)
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ public class PartP2PBCPower extends PartP2PTunnel<PartP2PBCPower> implements IPo
|
|||||||
public float getPowerDrainPerTick()
|
public float getPowerDrainPerTick()
|
||||||
{
|
{
|
||||||
return 0.5f;
|
return 0.5f;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Method(iname = "MJ6")
|
@Method(iname = "MJ6")
|
||||||
private IBatteryObject getTargetBattery()
|
private IBatteryObject getTargetBattery()
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
|
|||||||
public float getPowerDrainPerTick()
|
public float getPowerDrainPerTick()
|
||||||
{
|
{
|
||||||
return 0.5f;
|
return 0.5f;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double injectEnergy(ForgeDirection directionFrom, double amount, double voltage)
|
public double injectEnergy(ForgeDirection directionFrom, double amount, double voltage)
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
public float getPowerDrainPerTick()
|
public float getPowerDrainPerTick()
|
||||||
{
|
{
|
||||||
return 2.0f;
|
return 2.0f;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canInsertItem(int i, ItemStack itemstack, int j)
|
public boolean canInsertItem(int i, ItemStack itemstack, int j)
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ public class PartP2PLiquids extends PartP2PTunnel<PartP2PLiquids> implements IFl
|
|||||||
public float getPowerDrainPerTick()
|
public float getPowerDrainPerTick()
|
||||||
{
|
{
|
||||||
return 2.0f;
|
return 2.0f;
|
||||||
};
|
}
|
||||||
|
|
||||||
private int tmpUsed;
|
private int tmpUsed;
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ public class PartP2PLiquids extends PartP2PTunnel<PartP2PLiquids> implements IFl
|
|||||||
if ( in != null )
|
if ( in != null )
|
||||||
in.onTunnelNetworkChange();
|
in.onTunnelNetworkChange();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onTunnelNetworkChange()
|
public void onTunnelNetworkChange()
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ public class PartP2PRedstone extends PartP2PTunnel<PartP2PRedstone>
|
|||||||
public float getPowerDrainPerTick()
|
public float getPowerDrainPerTick()
|
||||||
{
|
{
|
||||||
return 0.5f;
|
return 0.5f;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNeighborChanged()
|
public void onNeighborChanged()
|
||||||
|
|||||||
@@ -137,7 +137,6 @@ public class PartMonitor extends AEBasePart implements IPartMonitor, IPowerChann
|
|||||||
{
|
{
|
||||||
super.writeToStream( data );
|
super.writeToStream( data );
|
||||||
clientFlags = spin & 3;
|
clientFlags = spin & 3;
|
||||||
;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ public class CompassService implements ThreadFactory
|
|||||||
cleanUp();
|
cleanUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
private class CMDirectionRequest implements Runnable
|
private class CMDirectionRequest implements Runnable
|
||||||
{
|
{
|
||||||
@@ -165,7 +165,7 @@ public class CompassService implements ThreadFactory
|
|||||||
if ( jobSize() < 2 )
|
if ( jobSize() < 2 )
|
||||||
cleanUp();
|
cleanUp();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
public Future<?> getCompassDirection(DimensionalCoord coord, int maxRange, ICompassCallback cc)
|
public Future<?> getCompassDirection(DimensionalCoord coord, int maxRange, ICompassCallback cc)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ public class CachedPlane
|
|||||||
skipThese.add( yCoord );
|
skipThese.add( yCoord );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
int verticalBits;
|
int verticalBits;
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class StorageHelper
|
|||||||
Block blk = dst.getBlock( x, y, z );
|
Block blk = dst.getBlock( x, y, z );
|
||||||
blk.onNeighborBlockChange( dst, x, y, z, Platform.air );
|
blk.onNeighborBlockChange( dst, x, y, z, Platform.air );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
class WrapInMatrixFrame implements ISpatialVisitor
|
class WrapInMatrixFrame implements ISpatialVisitor
|
||||||
{
|
{
|
||||||
@@ -66,7 +66,7 @@ public class StorageHelper
|
|||||||
{
|
{
|
||||||
dst.setBlock( x, y, z, blkID, Meta, 3 );
|
dst.setBlock( x, y, z, blkID, Meta, 3 );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
class TelDestination
|
class TelDestination
|
||||||
{
|
{
|
||||||
@@ -89,7 +89,7 @@ public class StorageHelper
|
|||||||
final int xOff;
|
final int xOff;
|
||||||
final int yOff;
|
final int yOff;
|
||||||
final int zOff;
|
final int zOff;
|
||||||
};
|
}
|
||||||
|
|
||||||
class METeleporter extends Teleporter
|
class METeleporter extends Teleporter
|
||||||
{
|
{
|
||||||
@@ -126,7 +126,7 @@ public class StorageHelper
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
Method onEntityRemoved;
|
Method onEntityRemoved;
|
||||||
|
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
|||||||
// not used here
|
// not used here
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
class ChestMonitorHandler<T extends IAEStack> extends MEMonitorHandler<T>
|
class ChestMonitorHandler<T extends IAEStack> extends MEMonitorHandler<T>
|
||||||
{
|
{
|
||||||
@@ -389,8 +389,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
|||||||
return null;
|
return null;
|
||||||
return super.extractItems(request, mode, src);
|
return super.extractItems(request, mode, src);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
|
||||||
|
|
||||||
private <StackType extends IAEStack> MEMonitorHandler<StackType> wrap(IMEInventoryHandler h)
|
private <StackType extends IAEStack> MEMonitorHandler<StackType> wrap(IMEInventoryHandler h)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class ASMTweaker implements IClassTransformer
|
|||||||
|
|
||||||
final String name, desc;
|
final String name, desc;
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
Multimap<String, publicLine> privateToPublicMethods = HashMultimap.create();
|
Multimap<String, publicLine> privateToPublicMethods = HashMultimap.create();
|
||||||
|
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ public class AdaptorIInventory extends InventoryAdaptor
|
|||||||
// nothing!
|
// nothing!
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Iterator<ItemSlot> iterator()
|
public Iterator<ItemSlot> iterator()
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class WrapperChainedInventory implements IInventory
|
|||||||
int offset;
|
int offset;
|
||||||
int size;
|
int size;
|
||||||
IInventory i;
|
IInventory i;
|
||||||
};
|
}
|
||||||
|
|
||||||
int fullSize = 0;
|
int fullSize = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ public class WrapperInvSlot
|
|||||||
{
|
{
|
||||||
return isItemValid( itemstack ) && inv.isItemValidForSlot( slot, itemstack );
|
return isItemValid( itemstack ) && inv.isItemValidForSlot( slot, itemstack );
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
private IInventory inv;
|
private IInventory inv;
|
||||||
|
|
||||||
|
|||||||
@@ -44,14 +44,14 @@ public class OreHelper
|
|||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
class OreResult
|
class OreResult
|
||||||
{
|
{
|
||||||
|
|
||||||
public OreReference oreValue = null;
|
public OreReference oreValue = null;
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
HashMap<ItemRef, OreResult> references = new HashMap();
|
HashMap<ItemRef, OreResult> references = new HashMap();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user