Added missing @Override annotations with Eclipse
This commit is contained in:
@@ -757,11 +757,13 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
|
|||||||
return hasSubtypes;
|
return hasSubtypes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean hasComparatorInputOverride()
|
public boolean hasComparatorInputOverride()
|
||||||
{
|
{
|
||||||
return isInventory;
|
return isInventory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getComparatorInputOverride(World w, int x, int y, int z, int s)
|
public int getComparatorInputOverride(World w, int x, int y, int z, int s)
|
||||||
{
|
{
|
||||||
TileEntity te = getTileEntity( w, x, y, z );
|
TileEntity te = getTileEntity( w, x, y, z );
|
||||||
|
|||||||
@@ -72,16 +72,19 @@ public class BlockPaint extends AEBaseBlock
|
|||||||
tp.onNeighborBlockChange();
|
tp.onNeighborBlockChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_)
|
public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean canCollideCheck(int p_149678_1_, boolean p_149678_2_)
|
public boolean canCollideCheck(int p_149678_1_, boolean p_149678_2_)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void dropBlockAsItemWithChance(World p_149690_1_, int p_149690_2_, int p_149690_3_, int p_149690_4_, int p_149690_5_, float p_149690_6_,
|
public void dropBlockAsItemWithChance(World p_149690_1_, int p_149690_2_, int p_149690_3_, int p_149690_4_, int p_149690_5_, float p_149690_6_,
|
||||||
int p_149690_7_)
|
int p_149690_7_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ public class BlockCableBus extends AEBaseBlock implements IRedNetConnection
|
|||||||
static public Class<? extends TileEntity> noTesrTile;
|
static public Class<? extends TileEntity> noTesrTile;
|
||||||
static public Class<? extends TileEntity> tesrTile;
|
static public Class<? extends TileEntity> tesrTile;
|
||||||
|
|
||||||
|
@Override
|
||||||
public <T extends TileEntity> T getTileEntity(IBlockAccess w, int x, int y, int z)
|
public <T extends TileEntity> T getTileEntity(IBlockAccess w, int x, int y, int z)
|
||||||
{
|
{
|
||||||
TileEntity te = w.getTileEntity( x, y, z );
|
TileEntity te = w.getTileEntity( x, y, z );
|
||||||
@@ -89,6 +90,7 @@ public class BlockCableBus extends AEBaseBlock implements IRedNetConnection
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public boolean addHitEffects(World world, MovingObjectPosition target, EffectRenderer effectRenderer)
|
public boolean addHitEffects(World world, MovingObjectPosition target, EffectRenderer effectRenderer)
|
||||||
{
|
{
|
||||||
@@ -135,6 +137,7 @@ public class BlockCableBus extends AEBaseBlock implements IRedNetConnection
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public boolean addDestroyEffects(World world, int x, int y, int z, int meta, EffectRenderer effectRenderer)
|
public boolean addDestroyEffects(World world, int x, int y, int z, int meta, EffectRenderer effectRenderer)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ public abstract class AEBaseGui extends GuiContainer
|
|||||||
super.handleMouseClick( slot, slotIdx, ctrlDown, key );
|
super.handleMouseClick( slot, slotIdx, ctrlDown, key );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void mouseClickMove(int x, int y, int c, long d)
|
protected void mouseClickMove(int x, int y, int c, long d)
|
||||||
{
|
{
|
||||||
Slot slot = this.getSlot( x, y );
|
Slot slot = this.getSlot( x, y );
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ public class GuiCellWorkbench extends GuiUpgradeable
|
|||||||
buttonList.add( copyMode );
|
buttonList.add( copyMode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void handleButtonVisibility()
|
protected void handleButtonVisibility()
|
||||||
{
|
{
|
||||||
copyMode.setState( workbench.copyMode == CopyMode.CLEAR_ON_REMOVE );
|
copyMode.setState( workbench.copyMode == CopyMode.CLEAR_ON_REMOVE );
|
||||||
@@ -160,11 +161,13 @@ public class GuiCellWorkbench extends GuiUpgradeable
|
|||||||
fuzzyMode.setVisibility( hasFuzzy );
|
fuzzyMode.setVisibility( hasFuzzy );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/cellworkbench.png";
|
return "guis/cellworkbench.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected GuiText getName()
|
protected GuiText getName()
|
||||||
{
|
{
|
||||||
return GuiText.CellWorkbench;
|
return GuiText.CellWorkbench;
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ public class GuiCraftingTerm extends GuiMEMonitorable
|
|||||||
reservedSpace = 73;
|
reservedSpace = 73;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/crafting.png";
|
return "guis/crafting.png";
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ public class GuiFormationPlane extends GuiUpgradeable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/storagebus.png";
|
return "guis/storagebus.png";
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ public class GuiIOPort extends GuiUpgradeable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/ioport.png";
|
return "guis/ioport.png";
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ public class GuiInterface extends GuiUpgradeable
|
|||||||
buttonList.add( interfaceMode );
|
buttonList.add( interfaceMode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/interface.png";
|
return "guis/interface.png";
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ public class GuiLevelEmitter extends GuiUpgradeable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void handleButtonVisibility()
|
protected void handleButtonVisibility()
|
||||||
{
|
{
|
||||||
craftingMode.setVisibility( bc.getInstalledUpgrades( Upgrades.CRAFTING ) > 0 );
|
craftingMode.setVisibility( bc.getInstalledUpgrades( Upgrades.CRAFTING ) > 0 );
|
||||||
@@ -226,11 +227,13 @@ public class GuiLevelEmitter extends GuiUpgradeable
|
|||||||
level.drawTextBox();
|
level.drawTextBox();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/lvlemitter.png";
|
return "guis/lvlemitter.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected GuiText getName()
|
protected GuiText getName()
|
||||||
{
|
{
|
||||||
return GuiText.LevelEmitter;
|
return GuiText.LevelEmitter;
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ public class GuiMAC extends GuiUpgradeable
|
|||||||
buttonList.add( redstoneMode );
|
buttonList.add( redstoneMode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/mac.png";
|
return "guis/mac.png";
|
||||||
@@ -61,6 +62,7 @@ public class GuiMAC extends GuiUpgradeable
|
|||||||
this.container = (ContainerMAC) this.inventorySlots;
|
this.container = (ContainerMAC) this.inventorySlots;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected GuiText getName()
|
protected GuiText getName()
|
||||||
{
|
{
|
||||||
return GuiText.MolecularAssembler;
|
return GuiText.MolecularAssembler;
|
||||||
|
|||||||
@@ -459,6 +459,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
|
|||||||
repo.updateView();
|
repo.updateView();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected boolean isPowered()
|
protected boolean isPowered()
|
||||||
{
|
{
|
||||||
return repo.hasPower();
|
return repo.hasPower();
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
|
|||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void repositionSlot(AppEngSlot s)
|
protected void repositionSlot(AppEngSlot s)
|
||||||
{
|
{
|
||||||
if ( s.isPlayerSide() )
|
if ( s.isPlayerSide() )
|
||||||
@@ -97,6 +98,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
|
|||||||
reservedSpace = 81;
|
reservedSpace = 81;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
if ( container.craftingMode )
|
if ( container.craftingMode )
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ public class GuiSecurity extends GuiMEMonitorable
|
|||||||
.getUnlocalizedName(), SecurityPermissions.SECURITY.getUnlocalizedTip() ) );
|
.getUnlocalizedName(), SecurityPermissions.SECURITY.getUnlocalizedTip() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void actionPerformed(net.minecraft.client.gui.GuiButton btn)
|
protected void actionPerformed(net.minecraft.client.gui.GuiButton btn)
|
||||||
{
|
{
|
||||||
super.actionPerformed( btn );
|
super.actionPerformed( btn );
|
||||||
@@ -81,6 +82,7 @@ public class GuiSecurity extends GuiMEMonitorable
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
ContainerSecurity cs = (ContainerSecurity) inventorySlots;
|
ContainerSecurity cs = (ContainerSecurity) inventorySlots;
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ public class GuiStorageBus extends GuiUpgradeable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected String getBackground()
|
protected String getBackground()
|
||||||
{
|
{
|
||||||
return "guis/storagebus.png";
|
return "guis/storagebus.png";
|
||||||
|
|||||||
@@ -370,6 +370,7 @@ public class BusRenderHelper implements IPartRenderHelper
|
|||||||
BusRenderer.instance.renderer.renderFaces = faces;
|
BusRenderer.instance.renderer.renderFaces = faces;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void renderBlockCurrentBounds(int x, int y, int z, RenderBlocks renderer)
|
public void renderBlockCurrentBounds(int x, int y, int z, RenderBlocks renderer)
|
||||||
{
|
{
|
||||||
if ( !renderThis() )
|
if ( !renderThis() )
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class CraftingFx extends EntityBreakingFX
|
|||||||
private int startBlkY;
|
private int startBlkY;
|
||||||
private int startBlkZ;
|
private int startBlkZ;
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getFXLayer()
|
public int getFXLayer()
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
@@ -50,6 +51,7 @@ public class CraftingFx extends EntityBreakingFX
|
|||||||
this.particleScale *= 0.8f;
|
this.particleScale *= 0.8f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onUpdate()
|
public void onUpdate()
|
||||||
{
|
{
|
||||||
super.onUpdate();
|
super.onUpdate();
|
||||||
@@ -57,6 +59,7 @@ public class CraftingFx extends EntityBreakingFX
|
|||||||
this.particleAlpha *= 0.51f;
|
this.particleAlpha *= 0.51f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void renderParticle(Tessellator par1Tessellator, float partialTick, float x, float y, float z, float rx, float rz)
|
public void renderParticle(Tessellator par1Tessellator, float partialTick, float x, float y, float z, float rx, float rz)
|
||||||
{
|
{
|
||||||
if ( partialTick < 0 || partialTick > 1 )
|
if ( partialTick < 0 || partialTick > 1 )
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class EnergyFx extends EntityBreakingFX
|
|||||||
private int startBlkY;
|
private int startBlkY;
|
||||||
private int startBlkZ;
|
private int startBlkZ;
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getFXLayer()
|
public int getFXLayer()
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
@@ -49,6 +50,7 @@ public class EnergyFx extends EntityBreakingFX
|
|||||||
this.particleScale *= 0.8f;
|
this.particleScale *= 0.8f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onUpdate()
|
public void onUpdate()
|
||||||
{
|
{
|
||||||
super.onUpdate();
|
super.onUpdate();
|
||||||
@@ -56,6 +58,7 @@ public class EnergyFx extends EntityBreakingFX
|
|||||||
this.particleAlpha *= 0.89f;
|
this.particleAlpha *= 0.89f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7)
|
public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7)
|
||||||
{
|
{
|
||||||
float f6 = this.particleTextureIndex.getMinU();
|
float f6 = this.particleTextureIndex.getMinU();
|
||||||
|
|||||||
@@ -276,6 +276,7 @@ public abstract class AEBaseContainer extends Container
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean canDragIntoSlot(Slot s)
|
public boolean canDragIntoSlot(Slot s)
|
||||||
{
|
{
|
||||||
return ((AppEngSlot) s).isDraggable;
|
return ((AppEngSlot) s).isDraggable;
|
||||||
@@ -574,6 +575,7 @@ public abstract class AEBaseContainer extends Container
|
|||||||
super.detectAndSendChanges();
|
super.detectAndSendChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
final public void updateProgressBar(int idx, int value)
|
final public void updateProgressBar(int idx, int value)
|
||||||
{
|
{
|
||||||
if ( syncData.containsKey( idx ) )
|
if ( syncData.containsKey( idx ) )
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ public class ContainerCraftingTerm extends ContainerMEMonitorable implements IAE
|
|||||||
/**
|
/**
|
||||||
* Callback for when the crafting matrix is changed.
|
* Callback for when the crafting matrix is changed.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void onCraftMatrixChanged(IInventory par1IInventory)
|
public void onCraftMatrixChanged(IInventory par1IInventory)
|
||||||
{
|
{
|
||||||
ContainerNull cn = new ContainerNull();
|
ContainerNull cn = new ContainerNull();
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ public class ContainerInscriber extends ContainerUpgradeable
|
|||||||
setupUpgrades();
|
setupUpgrades();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isValidForSlot(Slot s, ItemStack is)
|
public boolean isValidForSlot(Slot s, ItemStack is)
|
||||||
{
|
{
|
||||||
ItemStack PlateA = ti.getStackInSlot( 0 );
|
ItemStack PlateA = ti.getStackInSlot( 0 );
|
||||||
|
|||||||
@@ -51,12 +51,14 @@ public class ContainerInterface extends ContainerUpgradeable
|
|||||||
setupUpgrades();
|
setupUpgrades();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void loadSettingsFromHost(IConfigManager cm)
|
protected void loadSettingsFromHost(IConfigManager cm)
|
||||||
{
|
{
|
||||||
this.bMode = (YesNo) cm.getSetting( Settings.BLOCK );
|
this.bMode = (YesNo) cm.getSetting( Settings.BLOCK );
|
||||||
this.iTermMode = (YesNo) cm.getSetting( Settings.INTERFACE_TERMINAL );
|
this.iTermMode = (YesNo) cm.getSetting( Settings.INTERFACE_TERMINAL );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int availableUpgrades()
|
public int availableUpgrades()
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ public class ContainerLevelEmitter extends ContainerUpgradeable
|
|||||||
standardDetectAndSendChanges();
|
standardDetectAndSendChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onUpdate(String field, Object oldValue, Object newValue)
|
public void onUpdate(String field, Object oldValue, Object newValue)
|
||||||
{
|
{
|
||||||
if ( field.equals( "EmitterValue" ) )
|
if ( field.equals( "EmitterValue" ) )
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ public class ContainerMAC extends ContainerUpgradeable
|
|||||||
tma = te;
|
tma = te;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int availableUpgrades()
|
public int availableUpgrades()
|
||||||
{
|
{
|
||||||
return 5;
|
return 5;
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
|||||||
/**
|
/**
|
||||||
* Check if the stack is a valid item for this slot. Always true beside for the armor slots.
|
* Check if the stack is a valid item for this slot. Always true beside for the armor slots.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public boolean isItemValid(ItemStack par1ItemStack)
|
public boolean isItemValid(ItemStack par1ItemStack)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
@@ -46,6 +47,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
|||||||
* Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new
|
* Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new
|
||||||
* stack.
|
* stack.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public ItemStack decrStackSize(int par1)
|
public ItemStack decrStackSize(int par1)
|
||||||
{
|
{
|
||||||
if ( this.getHasStack() )
|
if ( this.getHasStack() )
|
||||||
@@ -60,6 +62,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
|||||||
* the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an
|
* the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an
|
||||||
* internal count then calls onCrafting(item).
|
* internal count then calls onCrafting(item).
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
protected void onCrafting(ItemStack par1ItemStack, int par2)
|
protected void onCrafting(ItemStack par1ItemStack, int par2)
|
||||||
{
|
{
|
||||||
this.amountCrafted += par2;
|
this.amountCrafted += par2;
|
||||||
@@ -69,6 +72,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
|||||||
/**
|
/**
|
||||||
* the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
|
* the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
protected void onCrafting(ItemStack par1ItemStack)
|
protected void onCrafting(ItemStack par1ItemStack)
|
||||||
{
|
{
|
||||||
par1ItemStack.onCrafting( this.thePlayer.worldObj, this.thePlayer, this.amountCrafted );
|
par1ItemStack.onCrafting( this.thePlayer.worldObj, this.thePlayer, this.amountCrafted );
|
||||||
@@ -125,6 +129,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
|
public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
|
||||||
{
|
{
|
||||||
FMLCommonHandler.instance().firePlayerCraftingEvent( par1EntityPlayer, par2ItemStack, craftMatrix );
|
FMLCommonHandler.instance().firePlayerCraftingEvent( par1EntityPlayer, par2ItemStack, craftMatrix );
|
||||||
|
|||||||
@@ -137,6 +137,7 @@ public class MovableTileRegistry implements IMovableRegistry
|
|||||||
blacklisted.add( blk );
|
blacklisted.add( blk );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isBlacklisted(Block blk)
|
public boolean isBlacklisted(Block blk)
|
||||||
{
|
{
|
||||||
return blacklisted.contains( blk );
|
return blacklisted.contains( blk );
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
|||||||
long bytes = 0;
|
long bytes = 0;
|
||||||
World world;
|
World world;
|
||||||
|
|
||||||
|
@Override
|
||||||
public IAEItemStack getOutput()
|
public IAEItemStack getOutput()
|
||||||
{
|
{
|
||||||
return output;
|
return output;
|
||||||
@@ -93,6 +94,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
|||||||
return new CraftingTreeNode( cc, this, what, null, -1, 0 );
|
return new CraftingTreeNode( cc, this, what, null, -1, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public long getByteTotal()
|
public long getByteTotal()
|
||||||
{
|
{
|
||||||
return bytes;
|
return bytes;
|
||||||
@@ -237,6 +239,7 @@ public class CraftingJob implements Runnable, ICraftingJob
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isSimulation()
|
public boolean isSimulation()
|
||||||
{
|
{
|
||||||
return simulate;
|
return simulate;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ final public class EntityFloatingItem extends EntityItem
|
|||||||
|
|
||||||
// public boolean isEntityAlive()
|
// public boolean isEntityAlive()
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onUpdate()
|
public void onUpdate()
|
||||||
{
|
{
|
||||||
if ( !isDead && parent.isDead )
|
if ( !isDead && parent.isDead )
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class FacadeContainer implements IFacadeContainer
|
|||||||
storage = cbs;
|
storage = cbs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeToStream(ByteBuf out) throws IOException
|
public void writeToStream(ByteBuf out) throws IOException
|
||||||
{
|
{
|
||||||
int facadeSides = 0;
|
int facadeSides = 0;
|
||||||
@@ -52,6 +53,7 @@ public class FacadeContainer implements IFacadeContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean readFromStream(ByteBuf out) throws IOException
|
public boolean readFromStream(ByteBuf out) throws IOException
|
||||||
{
|
{
|
||||||
int facadeSides = out.readByte();
|
int facadeSides = out.readByte();
|
||||||
@@ -97,6 +99,7 @@ public class FacadeContainer implements IFacadeContainer
|
|||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readFromNBT(NBTTagCompound c)
|
public void readFromNBT(NBTTagCompound c)
|
||||||
{
|
{
|
||||||
for (int x = 0; x < facades; x++)
|
for (int x = 0; x < facades; x++)
|
||||||
@@ -126,6 +129,7 @@ public class FacadeContainer implements IFacadeContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeToNBT(NBTTagCompound c)
|
public void writeToNBT(NBTTagCompound c)
|
||||||
{
|
{
|
||||||
for (int x = 0; x < facades; x++)
|
for (int x = 0; x < facades; x++)
|
||||||
@@ -170,6 +174,7 @@ public class FacadeContainer implements IFacadeContainer
|
|||||||
return storage.getFacade( s.ordinal() );
|
return storage.getFacade( s.ordinal() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isEmpty()
|
public boolean isEmpty()
|
||||||
{
|
{
|
||||||
for (int x = 0; x < facades; x++)
|
for (int x = 0; x < facades; x++)
|
||||||
@@ -178,6 +183,7 @@ public class FacadeContainer implements IFacadeContainer
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void rotateLeft()
|
public void rotateLeft()
|
||||||
{
|
{
|
||||||
IFacadePart newFacades[] = new FacadePart[6];
|
IFacadePart newFacades[] = new FacadePart[6];
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ public class AEGlassMaterial extends Material
|
|||||||
super( p_i2116_1_ );
|
super( p_i2116_1_ );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isOpaque()
|
public boolean isOpaque()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -690,6 +690,7 @@ public class DualityInterface implements IGridTickable, ISegmentedInventory, ISt
|
|||||||
return (IPart) (iHost instanceof IPart ? iHost : null);
|
return (IPart) (iHost instanceof IPart ? iHost : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public appeng.api.util.IConfigManager getConfigManager()
|
public appeng.api.util.IConfigManager getConfigManager()
|
||||||
{
|
{
|
||||||
return cm;
|
return cm;
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ public class MeteoritePlacer
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void getRandomFall(IMeteoriteWorld w, int x, int y, int z)
|
public void getRandomFall(IMeteoriteWorld w, int x, int y, int z)
|
||||||
{
|
{
|
||||||
double a = Math.random();
|
double a = Math.random();
|
||||||
@@ -92,6 +93,7 @@ public class MeteoritePlacer
|
|||||||
getOther( w, x, y, z, a );
|
getOther( w, x, y, z, a );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void getRandomInset(IMeteoriteWorld w, int x, int y, int z)
|
public void getRandomInset(IMeteoriteWorld w, int x, int y, int z)
|
||||||
{
|
{
|
||||||
double a = Math.random();
|
double a = Math.random();
|
||||||
@@ -111,11 +113,13 @@ public class MeteoritePlacer
|
|||||||
super( w, x, y, z );
|
super( w, x, y, z );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int adjustCrater()
|
public int adjustCrater()
|
||||||
{
|
{
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void getOther(IMeteoriteWorld w, int x, int y, int z, double a)
|
public void getOther(IMeteoriteWorld w, int x, int y, int z, double a)
|
||||||
{
|
{
|
||||||
if ( a > 0.66 )
|
if ( a > 0.66 )
|
||||||
@@ -131,11 +135,13 @@ public class MeteoritePlacer
|
|||||||
super( w, x, y, z );
|
super( w, x, y, z );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int adjustCrater()
|
public int adjustCrater()
|
||||||
{
|
{
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void getOther(IMeteoriteWorld w, int x, int y, int z, double a)
|
public void getOther(IMeteoriteWorld w, int x, int y, int z, double a)
|
||||||
{
|
{
|
||||||
if ( a > 0.7 )
|
if ( a > 0.7 )
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ public class PatternHelper implements ICraftingPatternDetails, Comparable<Patter
|
|||||||
condensedOutputs[offset++] = io;
|
condensedOutputs[offset++] = io;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
synchronized public boolean isValidItemForSlot(int slotIndex, ItemStack i, World w)
|
synchronized public boolean isValidItemForSlot(int slotIndex, ItemStack i, World w)
|
||||||
{
|
{
|
||||||
if ( isCrafting == false )
|
if ( isCrafting == false )
|
||||||
|
|||||||
@@ -160,6 +160,7 @@ public class FZ implements IFZ, IIntegrationModule
|
|||||||
AEApi.instance().registries().externalStorage().addExternalStorageInterface( new FactorizationHandler() );
|
AEApi.instance().registries().externalStorage().addExternalStorageInterface( new FactorizationHandler() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void grinderRecipe(ItemStack in, ItemStack out)
|
public void grinderRecipe(ItemStack in, ItemStack out)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -29,11 +29,13 @@ import codechicken.nei.recipe.TemplateRecipeHandler;
|
|||||||
public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
|
public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadTransferRects()
|
public void loadTransferRects()
|
||||||
{
|
{
|
||||||
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "crafting", new Object[0] ) );
|
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "crafting", new Object[0] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Class<? extends GuiContainer> getGuiClass()
|
public Class<? extends GuiContainer> getGuiClass()
|
||||||
{
|
{
|
||||||
return GuiCrafting.class;
|
return GuiCrafting.class;
|
||||||
@@ -70,6 +72,7 @@ public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadCraftingRecipes(ItemStack result)
|
public void loadCraftingRecipes(ItemStack result)
|
||||||
{
|
{
|
||||||
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
||||||
@@ -87,6 +90,7 @@ public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadUsageRecipes(ItemStack ingredient)
|
public void loadUsageRecipes(ItemStack ingredient)
|
||||||
{
|
{
|
||||||
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
||||||
@@ -109,11 +113,13 @@ public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getGuiTexture()
|
public String getGuiTexture()
|
||||||
{
|
{
|
||||||
return "textures/gui/container/crafting_table.png";
|
return "textures/gui/container/crafting_table.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getOverlayIdentifier()
|
public String getOverlayIdentifier()
|
||||||
{
|
{
|
||||||
return "crafting";
|
return "crafting";
|
||||||
|
|||||||
@@ -29,11 +29,13 @@ import codechicken.nei.recipe.TemplateRecipeHandler;
|
|||||||
public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
|
public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadTransferRects()
|
public void loadTransferRects()
|
||||||
{
|
{
|
||||||
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "crafting", new Object[0] ) );
|
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "crafting", new Object[0] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Class<? extends GuiContainer> getGuiClass()
|
public Class<? extends GuiContainer> getGuiClass()
|
||||||
{
|
{
|
||||||
return GuiCrafting.class;
|
return GuiCrafting.class;
|
||||||
@@ -70,6 +72,7 @@ public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadCraftingRecipes(ItemStack result)
|
public void loadCraftingRecipes(ItemStack result)
|
||||||
{
|
{
|
||||||
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
||||||
@@ -87,6 +90,7 @@ public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadUsageRecipes(ItemStack ingredient)
|
public void loadUsageRecipes(ItemStack ingredient)
|
||||||
{
|
{
|
||||||
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
|
||||||
@@ -109,11 +113,13 @@ public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getGuiTexture()
|
public String getGuiTexture()
|
||||||
{
|
{
|
||||||
return "textures/gui/container/crafting_table.png";
|
return "textures/gui/container/crafting_table.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getOverlayIdentifier()
|
public String getOverlayIdentifier()
|
||||||
{
|
{
|
||||||
return "crafting";
|
return "crafting";
|
||||||
|
|||||||
@@ -25,11 +25,13 @@ public class NEIFacadeRecipeHandler extends TemplateRecipeHandler
|
|||||||
final ItemFacade ifa = (ItemFacade) AEApi.instance().items().itemFacade.item();
|
final ItemFacade ifa = (ItemFacade) AEApi.instance().items().itemFacade.item();
|
||||||
final ItemStack cable_anchor = AEApi.instance().parts().partCableAnchor.stack( 1 );
|
final ItemStack cable_anchor = AEApi.instance().parts().partCableAnchor.stack( 1 );
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadTransferRects()
|
public void loadTransferRects()
|
||||||
{
|
{
|
||||||
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "crafting", new Object[0] ) );
|
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "crafting", new Object[0] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Class<? extends GuiContainer> getGuiClass()
|
public Class<? extends GuiContainer> getGuiClass()
|
||||||
{
|
{
|
||||||
return GuiCrafting.class;
|
return GuiCrafting.class;
|
||||||
@@ -61,6 +63,7 @@ public class NEIFacadeRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadCraftingRecipes(ItemStack result)
|
public void loadCraftingRecipes(ItemStack result)
|
||||||
{
|
{
|
||||||
if ( result.getItem() == ifa )
|
if ( result.getItem() == ifa )
|
||||||
@@ -71,6 +74,7 @@ public class NEIFacadeRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadUsageRecipes(ItemStack ingredient)
|
public void loadUsageRecipes(ItemStack ingredient)
|
||||||
{
|
{
|
||||||
List<ItemStack> facades = ifa.getFacades();
|
List<ItemStack> facades = ifa.getFacades();
|
||||||
@@ -90,11 +94,13 @@ public class NEIFacadeRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getGuiTexture()
|
public String getGuiTexture()
|
||||||
{
|
{
|
||||||
return "textures/gui/container/crafting_table.png";
|
return "textures/gui/container/crafting_table.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getOverlayIdentifier()
|
public String getOverlayIdentifier()
|
||||||
{
|
{
|
||||||
return "crafting";
|
return "crafting";
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ import codechicken.nei.recipe.TemplateRecipeHandler;
|
|||||||
public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public void drawBackground(int recipe)
|
public void drawBackground(int recipe)
|
||||||
{
|
{
|
||||||
GL11.glColor4f( 1, 1, 1, 1 );
|
GL11.glColor4f( 1, 1, 1, 1 );
|
||||||
@@ -62,11 +63,13 @@ public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadTransferRects()
|
public void loadTransferRects()
|
||||||
{
|
{
|
||||||
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "grindstone", new Object[0] ) );
|
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "grindstone", new Object[0] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Class<? extends GuiContainer> getGuiClass()
|
public Class<? extends GuiContainer> getGuiClass()
|
||||||
{
|
{
|
||||||
return GuiGrinder.class;
|
return GuiGrinder.class;
|
||||||
@@ -96,6 +99,7 @@ public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadCraftingRecipes(ItemStack result)
|
public void loadCraftingRecipes(ItemStack result)
|
||||||
{
|
{
|
||||||
for (IGrinderEntry recipe : AEApi.instance().registries().grinder().getRecipes())
|
for (IGrinderEntry recipe : AEApi.instance().registries().grinder().getRecipes())
|
||||||
@@ -109,6 +113,7 @@ public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadUsageRecipes(ItemStack ingredient)
|
public void loadUsageRecipes(ItemStack ingredient)
|
||||||
{
|
{
|
||||||
for (IGrinderEntry recipe : AEApi.instance().registries().grinder().getRecipes())
|
for (IGrinderEntry recipe : AEApi.instance().registries().grinder().getRecipes())
|
||||||
@@ -127,6 +132,7 @@ public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getGuiTexture()
|
public String getGuiTexture()
|
||||||
{
|
{
|
||||||
ResourceLocation loc = new ResourceLocation( "appliedenergistics2", "textures/guis/grinder.png" );
|
ResourceLocation loc = new ResourceLocation( "appliedenergistics2", "textures/guis/grinder.png" );
|
||||||
@@ -134,6 +140,7 @@ public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
|||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getOverlayIdentifier()
|
public String getOverlayIdentifier()
|
||||||
{
|
{
|
||||||
return "grindstone";
|
return "grindstone";
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import codechicken.nei.recipe.TemplateRecipeHandler;
|
|||||||
public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public void drawBackground(int recipe)
|
public void drawBackground(int recipe)
|
||||||
{
|
{
|
||||||
GL11.glColor4f( 1, 1, 1, 1 );
|
GL11.glColor4f( 1, 1, 1, 1 );
|
||||||
@@ -34,11 +35,13 @@ public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
|||||||
drawTexturedModalRect( 0, 0, 5, 11, 166, 75 );
|
drawTexturedModalRect( 0, 0, 5, 11, 166, 75 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadTransferRects()
|
public void loadTransferRects()
|
||||||
{
|
{
|
||||||
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "inscriber", new Object[0] ) );
|
this.transferRects.add( new TemplateRecipeHandler.RecipeTransferRect( new Rectangle( 84, 23, 24, 18 ), "inscriber", new Object[0] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Class<? extends GuiContainer> getGuiClass()
|
public Class<? extends GuiContainer> getGuiClass()
|
||||||
{
|
{
|
||||||
return GuiInscriber.class;
|
return GuiInscriber.class;
|
||||||
@@ -68,6 +71,7 @@ public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadCraftingRecipes(ItemStack result)
|
public void loadCraftingRecipes(ItemStack result)
|
||||||
{
|
{
|
||||||
for (InscriberRecipe recipe : Inscribe.recipes)
|
for (InscriberRecipe recipe : Inscribe.recipes)
|
||||||
@@ -81,6 +85,7 @@ public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void loadUsageRecipes(ItemStack ingredient)
|
public void loadUsageRecipes(ItemStack ingredient)
|
||||||
{
|
{
|
||||||
for (InscriberRecipe recipe : Inscribe.recipes)
|
for (InscriberRecipe recipe : Inscribe.recipes)
|
||||||
@@ -99,6 +104,7 @@ public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getGuiTexture()
|
public String getGuiTexture()
|
||||||
{
|
{
|
||||||
ResourceLocation loc = new ResourceLocation( "appliedenergistics2", "textures/guis/inscriber.png" );
|
ResourceLocation loc = new ResourceLocation( "appliedenergistics2", "textures/guis/inscriber.png" );
|
||||||
@@ -106,6 +112,7 @@ public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
|||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getOverlayIdentifier()
|
public String getOverlayIdentifier()
|
||||||
{
|
{
|
||||||
return "inscriber";
|
return "inscriber";
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ public class NEIWorldCraftingHandler implements ICraftingHandler, IUsageHandler
|
|||||||
return offsets.size();
|
return offsets.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void drawBackground(int recipe)
|
public void drawBackground(int recipe)
|
||||||
{
|
{
|
||||||
GL11.glColor4f( 1, 1, 1, 1 );// nothing.
|
GL11.glColor4f( 1, 1, 1, 1 );// nothing.
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ public class PortableCellViewer extends MEMonitorHandler<IAEItemStack> implement
|
|||||||
target = is;
|
target = is;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ItemStack getItemStack()
|
public ItemStack getItemStack()
|
||||||
{
|
{
|
||||||
return target;
|
return target;
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
|
|||||||
|
|
||||||
Collections.sort( list, new Comparator<IAEItemStack>() {
|
Collections.sort( list, new Comparator<IAEItemStack>() {
|
||||||
|
|
||||||
|
@Override
|
||||||
public int compare(IAEItemStack a, IAEItemStack b)
|
public int compare(IAEItemStack a, IAEItemStack b)
|
||||||
{
|
{
|
||||||
return ItemSorters.compareInt( a.getItemDamage(), b.getItemDamage() );
|
return ItemSorters.compareInt( a.getItemDamage(), b.getItemDamage() );
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class ToolQuartzAxe extends ItemAxe implements IAEFeature
|
|||||||
return feature;
|
return feature;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
||||||
{
|
{
|
||||||
return Platform.canRepair( type, a, b );
|
return Platform.canRepair( type, a, b );
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ public class ToolQuartzCuttingKnife extends AEBaseItem implements IGuiItem
|
|||||||
setMaxStackSize( 1 );
|
setMaxStackSize( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
||||||
{
|
{
|
||||||
return Platform.canRepair( type, a, b );
|
return Platform.canRepair( type, a, b );
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class ToolQuartzHoe extends ItemHoe implements IAEFeature
|
|||||||
return feature;
|
return feature;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
||||||
{
|
{
|
||||||
return Platform.canRepair( type, a, b );
|
return Platform.canRepair( type, a, b );
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class ToolQuartzPickaxe extends ItemPickaxe implements IAEFeature
|
|||||||
return feature;
|
return feature;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
||||||
{
|
{
|
||||||
return Platform.canRepair( type, a, b );
|
return Platform.canRepair( type, a, b );
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class ToolQuartzSpade extends ItemSpade implements IAEFeature
|
|||||||
return feature;
|
return feature;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
||||||
{
|
{
|
||||||
return Platform.canRepair( type, a, b );
|
return Platform.canRepair( type, a, b );
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public class ToolQuartzSword extends ItemSword implements IAEFeature
|
|||||||
return feature;
|
return feature;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
public boolean getIsRepairable(ItemStack a, ItemStack b)
|
||||||
{
|
{
|
||||||
return Platform.canRepair( type, a, b );
|
return Platform.canRepair( type, a, b );
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ public class EnergyGridCache implements IEnergyGrid
|
|||||||
return getEnergyDemand( maxRequired, localSeen );
|
return getEnergyDemand( maxRequired, localSeen );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public double getEnergyDemand(double maxRequired, Set<IEnergyGrid> seen)
|
public double getEnergyDemand(double maxRequired, Set<IEnergyGrid> seen)
|
||||||
{
|
{
|
||||||
if ( !seen.add( this ) )
|
if ( !seen.add( this ) )
|
||||||
@@ -199,6 +200,7 @@ public class EnergyGridCache implements IEnergyGrid
|
|||||||
return injectAEPower( amt, mode, localSeen );
|
return injectAEPower( amt, mode, localSeen );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public double injectAEPower(double amt, Actionable mode, Set<IEnergyGrid> seen)
|
public double injectAEPower(double amt, Actionable mode, Set<IEnergyGrid> seen)
|
||||||
{
|
{
|
||||||
if ( !seen.add( this ) )
|
if ( !seen.add( this ) )
|
||||||
|
|||||||
@@ -94,11 +94,13 @@ public class CellInventoryHandler extends MEInventoryHandler<IAEItemStack> imple
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isPreformatted()
|
public boolean isPreformatted()
|
||||||
{
|
{
|
||||||
return ! myPartitionList.isEmpty();
|
return ! myPartitionList.isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isFuzzy()
|
public boolean isFuzzy()
|
||||||
{
|
{
|
||||||
return myPartitionList instanceof FuzzyPriorityList;
|
return myPartitionList instanceof FuzzyPriorityList;
|
||||||
|
|||||||
@@ -403,6 +403,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
partChanged();
|
partChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean canConnectRedstone(EnumSet<ForgeDirection> enumSet)
|
public boolean canConnectRedstone(EnumSet<ForgeDirection> enumSet)
|
||||||
{
|
{
|
||||||
for (ForgeDirection dir : enumSet)
|
for (ForgeDirection dir : enumSet)
|
||||||
@@ -463,6 +464,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
return boxes;
|
return boxes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onEntityCollision(Entity entity)
|
public void onEntityCollision(Entity entity)
|
||||||
{
|
{
|
||||||
for (ForgeDirection s : ForgeDirection.values())
|
for (ForgeDirection s : ForgeDirection.values())
|
||||||
@@ -473,6 +475,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isEmpty()
|
public boolean isEmpty()
|
||||||
{
|
{
|
||||||
IFacadeContainer fc = getFacadeContainer();
|
IFacadeContainer fc = getFacadeContainer();
|
||||||
@@ -492,6 +495,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onNeighborChanged()
|
public void onNeighborChanged()
|
||||||
{
|
{
|
||||||
hasRedstone = YesNo.UNDECIDED;
|
hasRedstone = YesNo.UNDECIDED;
|
||||||
@@ -510,6 +514,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
hasRedstone = te.getWorldObj().isBlockIndirectlyGettingPowered( te.xCoord, te.yCoord, te.zCoord ) ? YesNo.YES : YesNo.NO;
|
hasRedstone = te.getWorldObj().isBlockIndirectlyGettingPowered( te.xCoord, te.yCoord, te.zCoord ) ? YesNo.YES : YesNo.NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isSolidOnSide(ForgeDirection side)
|
public boolean isSolidOnSide(ForgeDirection side)
|
||||||
{
|
{
|
||||||
if ( side == null || side == ForgeDirection.UNKNOWN )
|
if ( side == null || side == ForgeDirection.UNKNOWN )
|
||||||
@@ -525,12 +530,14 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
return part != null && part.isSolid();
|
return part != null && part.isSolid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int isProvidingWeakPower(ForgeDirection side)
|
public int isProvidingWeakPower(ForgeDirection side)
|
||||||
{
|
{
|
||||||
IPart part = getPart( side );
|
IPart part = getPart( side );
|
||||||
return part != null ? part.isProvidingWeakPower() : 0;
|
return part != null ? part.isProvidingWeakPower() : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int isProvidingStrongPower(ForgeDirection side)
|
public int isProvidingStrongPower(ForgeDirection side)
|
||||||
{
|
{
|
||||||
IPart part = getPart( side );
|
IPart part = getPart( side );
|
||||||
@@ -813,6 +820,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
return tcb.isBlocked( side );
|
return tcb.isBlocked( side );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getLightValue()
|
public int getLightValue()
|
||||||
{
|
{
|
||||||
int light = 0;
|
int light = 0;
|
||||||
@@ -842,6 +850,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean activate(EntityPlayer player, Vec3 pos)
|
public boolean activate(EntityPlayer player, Vec3 pos)
|
||||||
{
|
{
|
||||||
SelectedPart p = selectPart( pos );
|
SelectedPart p = selectPart( pos );
|
||||||
@@ -936,6 +945,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
tcb.markForSave();
|
tcb.markForSave();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void randomDisplayTick(World world, int x, int y, int z, Random r)
|
public void randomDisplayTick(World world, int x, int y, int z, Random r)
|
||||||
{
|
{
|
||||||
for (ForgeDirection side : ForgeDirection.values())
|
for (ForgeDirection side : ForgeDirection.values())
|
||||||
@@ -957,6 +967,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
|||||||
return hasRedstone == YesNo.YES;
|
return hasRedstone == YesNo.YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isLadder(EntityLivingBase entity)
|
public boolean isLadder(EntityLivingBase entity)
|
||||||
{
|
{
|
||||||
for (ForgeDirection side : ForgeDirection.values())
|
for (ForgeDirection side : ForgeDirection.values())
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
|
|||||||
drops.add( is.getItemStack() );
|
drops.add( is.getItemStack() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@MENetworkEventSubscribe
|
@MENetworkEventSubscribe
|
||||||
public void chanRender(MENetworkChannelsChanged c)
|
public void chanRender(MENetworkChannelsChanged c)
|
||||||
{
|
{
|
||||||
@@ -223,6 +224,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
|
|||||||
getHost().markForUpdate();
|
getHost().markForUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@MENetworkEventSubscribe
|
@MENetworkEventSubscribe
|
||||||
public void powerRender(MENetworkPowerStatusChange c)
|
public void powerRender(MENetworkPowerStatusChange c)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -303,6 +303,7 @@ public class PartExportBus extends PartSharedItemBus implements IGridTickable, I
|
|||||||
return doBusWork();
|
return doBusWork();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public RedstoneMode getRSMode()
|
public RedstoneMode getRSMode()
|
||||||
{
|
{
|
||||||
return (RedstoneMode) settings.getSetting( Settings.REDSTONE_CONTROLLED );
|
return (RedstoneMode) settings.getSetting( Settings.REDSTONE_CONTROLLED );
|
||||||
|
|||||||
@@ -90,6 +90,7 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected int getUpgradeSlots()
|
protected int getUpgradeSlots()
|
||||||
{
|
{
|
||||||
return 5;
|
return 5;
|
||||||
@@ -104,6 +105,7 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
|
|||||||
return super.getInventoryByName( name );
|
return super.getInventoryByName( name );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@MENetworkEventSubscribe
|
@MENetworkEventSubscribe
|
||||||
public void powerRender(MENetworkPowerStatusChange c)
|
public void powerRender(MENetworkPowerStatusChange c)
|
||||||
{
|
{
|
||||||
@@ -278,6 +280,7 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
|
|||||||
updateHandler();
|
updateHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void upgradesChanged()
|
public void upgradesChanged()
|
||||||
{
|
{
|
||||||
updateHandler();
|
updateHandler();
|
||||||
@@ -322,6 +325,7 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
|
|||||||
data.setInteger( "priority", priority );
|
data.setInteger( "priority", priority );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readFromNBT(NBTTagCompound data)
|
public void readFromNBT(NBTTagCompound data)
|
||||||
{
|
{
|
||||||
super.readFromNBT( data );
|
super.readFromNBT( data );
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ public class PartImportBus extends PartSharedItemBus implements IGridTickable, I
|
|||||||
private int itemToSend; // used in tickingRequest
|
private int itemToSend; // used in tickingRequest
|
||||||
private boolean worked; // used in tickingRequest
|
private boolean worked; // used in tickingRequest
|
||||||
|
|
||||||
|
@Override
|
||||||
TickRateModulation doBusWork()
|
TickRateModulation doBusWork()
|
||||||
{
|
{
|
||||||
if ( !proxy.isActive() )
|
if ( !proxy.isActive() )
|
||||||
@@ -265,6 +266,7 @@ public class PartImportBus extends PartSharedItemBus implements IGridTickable, I
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public RedstoneMode getRSMode()
|
public RedstoneMode getRSMode()
|
||||||
{
|
{
|
||||||
return (RedstoneMode) settings.getSetting( Settings.REDSTONE_CONTROLLED );
|
return (RedstoneMode) settings.getSetting( Settings.REDSTONE_CONTROLLED );
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
|
|||||||
updateState();
|
updateState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void upgradesChanged()
|
public void upgradesChanged()
|
||||||
{
|
{
|
||||||
configureWatchers();
|
configureWatchers();
|
||||||
@@ -127,6 +128,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeToNBT(NBTTagCompound data)
|
public void writeToNBT(NBTTagCompound data)
|
||||||
{
|
{
|
||||||
super.writeToNBT( data );
|
super.writeToNBT( data );
|
||||||
@@ -136,6 +138,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
|
|||||||
config.writeToNBT( data, "config" );
|
config.writeToNBT( data, "config" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readFromNBT(NBTTagCompound data)
|
public void readFromNBT(NBTTagCompound data)
|
||||||
{
|
{
|
||||||
super.readFromNBT( data );
|
super.readFromNBT( data );
|
||||||
|
|||||||
@@ -44,12 +44,14 @@ public abstract class PartSharedItemBus extends PartUpgradeable implements IGrid
|
|||||||
return Math.min( 1 + getInstalledUpgrades( Upgrades.CAPACITY ) * 4, config.getSizeInventory() );
|
return Math.min( 1 + getInstalledUpgrades( Upgrades.CAPACITY ) * 4, config.getSizeInventory() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeToNBT(net.minecraft.nbt.NBTTagCompound extra)
|
public void writeToNBT(net.minecraft.nbt.NBTTagCompound extra)
|
||||||
{
|
{
|
||||||
super.writeToNBT( extra );
|
super.writeToNBT( extra );
|
||||||
config.writeToNBT( extra, "config" );
|
config.writeToNBT( extra, "config" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readFromNBT(net.minecraft.nbt.NBTTagCompound extra)
|
public void readFromNBT(net.minecraft.nbt.NBTTagCompound extra)
|
||||||
{
|
{
|
||||||
super.readFromNBT( extra );
|
super.readFromNBT( extra );
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public class PartUpgradeable extends PartBasicState implements ISegmentedInvento
|
|||||||
drops.add( is );
|
drops.add( is );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeToNBT(net.minecraft.nbt.NBTTagCompound extra)
|
public void writeToNBT(net.minecraft.nbt.NBTTagCompound extra)
|
||||||
{
|
{
|
||||||
super.writeToNBT( extra );
|
super.writeToNBT( extra );
|
||||||
@@ -52,6 +53,7 @@ public class PartUpgradeable extends PartBasicState implements ISegmentedInvento
|
|||||||
upgrades.writeToNBT( extra, "upgrades" );
|
upgrades.writeToNBT( extra, "upgrades" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readFromNBT(net.minecraft.nbt.NBTTagCompound extra)
|
public void readFromNBT(net.minecraft.nbt.NBTTagCompound extra)
|
||||||
{
|
{
|
||||||
super.readFromNBT( extra );
|
super.readFromNBT( extra );
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
|||||||
int handlerHash = 0;
|
int handlerHash = 0;
|
||||||
boolean wasActive = false;
|
boolean wasActive = false;
|
||||||
|
|
||||||
|
@Override
|
||||||
@MENetworkEventSubscribe
|
@MENetworkEventSubscribe
|
||||||
public void powerRender(MENetworkPowerStatusChange c)
|
public void powerRender(MENetworkPowerStatusChange c)
|
||||||
{
|
{
|
||||||
@@ -136,6 +137,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected int getUpgradeSlots()
|
protected int getUpgradeSlots()
|
||||||
{
|
{
|
||||||
return 5;
|
return 5;
|
||||||
@@ -446,6 +448,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
|
|||||||
data.setInteger( "priority", priority );
|
data.setInteger( "priority", priority );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readFromNBT(NBTTagCompound data)
|
public void readFromNBT(NBTTagCompound data)
|
||||||
{
|
{
|
||||||
super.readFromNBT( data );
|
super.readFromNBT( data );
|
||||||
|
|||||||
@@ -213,6 +213,7 @@ public class PartCable extends AEBasePart implements IPartCable
|
|||||||
return AECableType.GLASS;
|
return AECableType.GLASS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AENetworkProxy getProxy()
|
public AENetworkProxy getProxy()
|
||||||
{
|
{
|
||||||
return proxy;
|
return proxy;
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ public class PartP2PBCPower extends PartP2PTunnel<PartP2PBCPower> implements IPo
|
|||||||
|
|
||||||
BaseMJPerdition pp;
|
BaseMJPerdition pp;
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.BC_POWER;
|
return TunnelType.BC_POWER;
|
||||||
@@ -193,6 +194,7 @@ public class PartP2PBCPower extends PartP2PTunnel<PartP2PBCPower> implements IPo
|
|||||||
pp.readFromNBT( tag );
|
pp.readFromNBT( tag );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||||||
public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements ic2.api.energy.tile.IEnergySink, ic2.api.energy.tile.IEnergySource
|
public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements ic2.api.energy.tile.IEnergySink, ic2.api.energy.tile.IEnergySource
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.IC2_POWER;
|
return TunnelType.IC2_POWER;
|
||||||
@@ -65,6 +66,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
|
|||||||
OutputVoltageB = tag.getDouble( "OutputVoltageB" );
|
OutputVoltageB = tag.getDouble( "OutputVoltageB" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||||||
public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeConnection, IInventory, ISidedInventory, IGridTickable
|
public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeConnection, IInventory, ISidedInventory, IGridTickable
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.ITEM;
|
return TunnelType.ITEM;
|
||||||
@@ -244,6 +245,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class PartP2PLight extends PartP2PTunnel<PartP2PLight> implements IGridTi
|
|||||||
super( is );
|
super( is );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.LIGHT;
|
return TunnelType.LIGHT;
|
||||||
@@ -142,6 +143,7 @@ public class PartP2PLight extends PartP2PTunnel<PartP2PLight> implements IGridTi
|
|||||||
data.writeInt( output ? lastValue : 0 );
|
data.writeInt( output ? lastValue : 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ public class PartP2PLiquids extends PartP2PTunnel<PartP2PLiquids> implements IFl
|
|||||||
private final static FluidTankInfo[] activeTank = new FluidTankInfo[] { new FluidTankInfo( null, 10000 ) };
|
private final static FluidTankInfo[] activeTank = new FluidTankInfo[] { new FluidTankInfo( null, 10000 ) };
|
||||||
private final static FluidTankInfo[] inactiveTank = new FluidTankInfo[] { new FluidTankInfo( null, 0 ) };
|
private final static FluidTankInfo[] inactiveTank = new FluidTankInfo[] { new FluidTankInfo( null, 0 ) };
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.FLUID;
|
return TunnelType.FLUID;
|
||||||
@@ -67,6 +68,7 @@ public class PartP2PLiquids extends PartP2PTunnel<PartP2PLiquids> implements IFl
|
|||||||
|
|
||||||
private int tmpUsed;
|
private int tmpUsed;
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public class PartP2PRFPower extends PartP2PTunnel<PartP2PRFPower> implements cof
|
|||||||
boolean cachedTarget = false;
|
boolean cachedTarget = false;
|
||||||
IEnergyHandler outputTarget;
|
IEnergyHandler outputTarget;
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.RF_POWER;
|
return TunnelType.RF_POWER;
|
||||||
@@ -61,6 +62,7 @@ public class PartP2PRFPower extends PartP2PTunnel<PartP2PRFPower> implements cof
|
|||||||
cachedTarget = false;
|
cachedTarget = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||||||
public class PartP2PRedstone extends PartP2PTunnel<PartP2PRedstone>
|
public class PartP2PRedstone extends PartP2PTunnel<PartP2PRedstone>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.REDSTONE;
|
return TunnelType.REDSTONE;
|
||||||
@@ -137,6 +138,7 @@ public class PartP2PRedstone extends PartP2PTunnel<PartP2PRedstone>
|
|||||||
power = tag.getInteger( "power" );
|
power = tag.getInteger( "power" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public IIcon getTypeTexture()
|
public IIcon getTypeTexture()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -244,6 +244,7 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ItemStack getItemStack(PartItemStack type)
|
public ItemStack getItemStack(PartItemStack type)
|
||||||
{
|
{
|
||||||
if ( type == PartItemStack.World || type == PartItemStack.Network || type == PartItemStack.Wrench || type == PartItemStack.Pick )
|
if ( type == PartItemStack.World || type == PartItemStack.Network || type == PartItemStack.Wrench || type == PartItemStack.Pick )
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ import appeng.me.helpers.AENetworkProxy;
|
|||||||
public class PartP2PTunnelME extends PartP2PTunnel<PartP2PTunnelME> implements IGridTickable
|
public class PartP2PTunnelME extends PartP2PTunnel<PartP2PTunnelME> implements IGridTickable
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Override
|
||||||
public TunnelType getTunnelType()
|
public TunnelType getTunnelType()
|
||||||
{
|
{
|
||||||
return TunnelType.ME;
|
return TunnelType.ME;
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ public class PartConversionMonitor extends PartStorageMonitor
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void extractItem(EntityPlayer player)
|
protected void extractItem(EntityPlayer player)
|
||||||
{
|
{
|
||||||
IAEItemStack input = (IAEItemStack) getDisplayed();
|
IAEItemStack input = (IAEItemStack) getDisplayed();
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ public class PartCraftingTerminal extends PartTerminal implements IAEAppEngInven
|
|||||||
// frontSolid = CableBusTextures.PartCraftingTerm_Solid;
|
// frontSolid = CableBusTextures.PartCraftingTerm_Solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public GuiBridge getGui( EntityPlayer p )
|
public GuiBridge getGui( EntityPlayer p )
|
||||||
{
|
{
|
||||||
int x = (int) p.posX, y = (int) p.posY, z = (int) p.posZ;
|
int x = (int) p.posX, y = (int) p.posY, z = (int) p.posZ;
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ public class PartPatternTerminal extends PartTerminal implements IAEAppEngInvent
|
|||||||
frontDark = CableBusTextures.PartPatternTerm_Dark;
|
frontDark = CableBusTextures.PartPatternTerm_Dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public GuiBridge getGui( EntityPlayer p )
|
public GuiBridge getGui( EntityPlayer p )
|
||||||
{
|
{
|
||||||
int x = (int) p.posX, y = (int) p.posY, z = (int) p.posZ;
|
int x = (int) p.posX, y = (int) p.posY, z = (int) p.posZ;
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ public class GroupIngredient implements IIngredient
|
|||||||
return gi;
|
return gi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getDamageValue()
|
public int getDamageValue()
|
||||||
{
|
{
|
||||||
return OreDictionary.WILDCARD_VALUE;
|
return OreDictionary.WILDCARD_VALUE;
|
||||||
@@ -94,6 +95,7 @@ public class GroupIngredient implements IIngredient
|
|||||||
return out.toArray( new ItemStack[out.size()] );
|
return out.toArray( new ItemStack[out.size()] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getNameSpace()
|
public String getNameSpace()
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ public class IngredientSet implements IIngredient
|
|||||||
|
|
||||||
boolean isInside = false;
|
boolean isInside = false;
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getDamageValue()
|
public int getDamageValue()
|
||||||
{
|
{
|
||||||
return OreDictionary.WILDCARD_VALUE;
|
return OreDictionary.WILDCARD_VALUE;
|
||||||
@@ -63,6 +64,7 @@ public class IngredientSet implements IIngredient
|
|||||||
return out.toArray( new ItemStack[out.size()] );
|
return out.toArray( new ItemStack[out.size()] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getNameSpace()
|
public String getNameSpace()
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ public class StorageWorldProvider extends WorldProvider
|
|||||||
super.worldChunkMgr = new WorldChunkManagerHell( Registration.instance.storageBiome, 0.0F );
|
super.worldChunkMgr = new WorldChunkManagerHell( Registration.instance.storageBiome, 0.0F );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public float[] calcSunriseSunsetColors(float p_76560_1_, float p_76560_2_)
|
public float[] calcSunriseSunsetColors(float p_76560_1_, float p_76560_2_)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -72,11 +72,13 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
|
|||||||
data.setByte( "paintedColor", (byte) paintedColor.ordinal() );
|
data.setByte( "paintedColor", (byte) paintedColor.ordinal() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isAccelerator()
|
public boolean isAccelerator()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isStatus()
|
public boolean isStatus()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
@@ -110,6 +112,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
|
|||||||
return getJobProgress() != null;
|
return getJobProgress() != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AEColor getColor()
|
public AEColor getColor()
|
||||||
{
|
{
|
||||||
return paintedColor;
|
return paintedColor;
|
||||||
|
|||||||
@@ -25,16 +25,19 @@ public class TileCraftingStorageTile extends TileCraftingTile
|
|||||||
return super.getItemFromTile( obj );
|
return super.getItemFromTile( obj );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isAccelerator()
|
public boolean isAccelerator()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isStorage()
|
public boolean isStorage()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getStorageBytes()
|
public int getStorageBytes()
|
||||||
{
|
{
|
||||||
if ( worldObj == null || notLoaded() )
|
if ( worldObj == null || notLoaded() )
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ public class TileCraftingTile extends AENetworkTile implements IAEMultiBlock, IP
|
|||||||
calc.calculateMultiblock( worldObj, getLocation() );
|
calc.calculateMultiblock( worldObj, getLocation() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setName(String name)
|
public void setName(String name)
|
||||||
{
|
{
|
||||||
super.setName( name );
|
super.setName( name );
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn
|
|||||||
private boolean reboot = true;
|
private boolean reboot = true;
|
||||||
public ISimplifiedBundle lightCache;
|
public ISimplifiedBundle lightCache;
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean pushPattern(ICraftingPatternDetails patternDetails, InventoryCrafting table, ForgeDirection where)
|
public boolean pushPattern(ICraftingPatternDetails patternDetails, InventoryCrafting table, ForgeDirection where)
|
||||||
{
|
{
|
||||||
if ( myPattern == null )
|
if ( myPattern == null )
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void readPermissions(HashMap<Integer, EnumSet<SecurityPermissions>> playerPerms)
|
public void readPermissions(HashMap<Integer, EnumSet<SecurityPermissions>> playerPerms)
|
||||||
{
|
{
|
||||||
IPlayerRegistry pr = AEApi.instance().registries().players();
|
IPlayerRegistry pr = AEApi.instance().registries().players();
|
||||||
@@ -229,6 +230,7 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp
|
|||||||
markForUpdate();
|
markForUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isSecurityEnabled()
|
public boolean isSecurityEnabled()
|
||||||
{
|
{
|
||||||
return isActive && gridProxy.isActive();
|
return isActive && gridProxy.isActive();
|
||||||
@@ -248,6 +250,7 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp
|
|||||||
cm.registerSetting( Settings.SORT_DIRECTION, SortDir.ASCENDING );
|
cm.registerSetting( Settings.SORT_DIRECTION, SortDir.ASCENDING );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getOwner()
|
public int getOwner()
|
||||||
{
|
{
|
||||||
return gridProxy.getNode().getPlayerID();
|
return gridProxy.getNode().getPlayerID();
|
||||||
@@ -311,6 +314,7 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp
|
|||||||
return securityKey;
|
return securityKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AEColor getColor()
|
public AEColor getColor()
|
||||||
{
|
{
|
||||||
return paintedColor;
|
return paintedColor;
|
||||||
|
|||||||
@@ -162,6 +162,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
|
|||||||
cb.getDrops( drops );
|
cb.getDrops( drops );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void getNoDrops(World w, int x, int y, int z, ArrayList<ItemStack> drops)
|
public void getNoDrops(World w, int x, int y, int z, ArrayList<ItemStack> drops)
|
||||||
{
|
{
|
||||||
cb.getNoDrops( drops );
|
cb.getNoDrops( drops );
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public abstract class RedstoneFlux extends RotaryCraft implements IEnergyHandler
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
final public boolean canConnectEnergy(ForgeDirection from)
|
final public boolean canConnectEnergy(ForgeDirection from)
|
||||||
{
|
{
|
||||||
return internalCanAcceptPower && getPowerSides().contains( from );
|
return internalCanAcceptPower && getPowerSides().contains( from );
|
||||||
|
|||||||
@@ -63,16 +63,19 @@ public abstract class RotaryCraft extends IC2 implements ShaftPowerReceiver
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
final public int getMachineX()
|
final public int getMachineX()
|
||||||
{
|
{
|
||||||
return xCoord;
|
return xCoord;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
final public int getMachineY()
|
final public int getMachineY()
|
||||||
{
|
{
|
||||||
return yCoord;
|
return yCoord;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
final public int getMachineZ()
|
final public int getMachineZ()
|
||||||
{
|
{
|
||||||
return zCoord;
|
return zCoord;
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ public class TileQuantumBridge extends AENetworkInvTile implements IAEMultiBlock
|
|||||||
inv.setMaxStackSize( 1 );
|
inv.setMaxStackSize( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public IInventory getInternalInventory()
|
public IInventory getInternalInventory()
|
||||||
{
|
{
|
||||||
return inv;
|
return inv;
|
||||||
|
|||||||
@@ -856,6 +856,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AEColor getColor()
|
public AEColor getColor()
|
||||||
{
|
{
|
||||||
return paintedColor;
|
return paintedColor;
|
||||||
|
|||||||
@@ -357,6 +357,7 @@ public class TileDrive extends AENetworkInvTile implements IChestOrDrive, IPrior
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isItemValidForSlot(int i, ItemStack itemstack)
|
public boolean isItemValidForSlot(int i, ItemStack itemstack)
|
||||||
{
|
{
|
||||||
return itemstack != null && AEApi.instance().registries().cell().isCellHandled( itemstack );
|
return itemstack != null && AEApi.instance().registries().cell().isCellHandled( itemstack );
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ public class AppEngCore extends DummyModContainer implements IFMLLoadingPlugin
|
|||||||
return getVersion();
|
return getVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ModMetadata getMetadata()
|
public ModMetadata getMetadata()
|
||||||
{
|
{
|
||||||
return md;
|
return md;
|
||||||
|
|||||||
@@ -71,14 +71,17 @@ public class SortedList<T> implements Iterable<T>, List<T>, Cloneable {
|
|||||||
|
|
||||||
return new Iterator<T>() {
|
return new Iterator<T>() {
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean hasNext() {
|
public boolean hasNext() {
|
||||||
return listIterator.hasPrevious();
|
return listIterator.hasPrevious();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public T next() {
|
public T next() {
|
||||||
return listIterator.previous();
|
return listIterator.previous();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void remove() {
|
public void remove() {
|
||||||
listIterator.remove();
|
listIterator.remove();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ public class DefaultPriorityList<T extends IAEStack<T>> implements IPartitionLis
|
|||||||
|
|
||||||
final static List nullList = new ArrayList();
|
final static List nullList = new ArrayList();
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isListed(T input)
|
public boolean isListed(T input)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ public class FuzzyPriorityList<T extends IAEStack<T>> implements IPartitionList<
|
|||||||
this.mode = mode;
|
this.mode = mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isListed(T input)
|
public boolean isListed(T input)
|
||||||
{
|
{
|
||||||
Collection<T> out = list.findFuzzy( input, mode );
|
Collection<T> out = list.findFuzzy( input, mode );
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ public class MergedPriorityList<T extends IAEStack<T>> implements IPartitionList
|
|||||||
negative.add( list );
|
negative.add( list );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isListed(T input)
|
public boolean isListed(T input)
|
||||||
{
|
{
|
||||||
for (IPartitionList<T> l : negative)
|
for (IPartitionList<T> l : negative)
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ public class PrecisePriorityList<T extends IAEStack<T>> implements IPartitionLis
|
|||||||
list = in;
|
list = in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isListed(T input)
|
public boolean isListed(T input)
|
||||||
{
|
{
|
||||||
return list.findPrecise( input ) != null;
|
return list.findPrecise( input ) != null;
|
||||||
|
|||||||
Reference in New Issue
Block a user