Utils ported
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
package appeng.api.implementations.guiobjects;
|
||||
|
||||
import alexiil.mc.lib.attributes.item.ItemTransferable;
|
||||
import alexiil.mc.lib.attributes.item.FixedItemInv;
|
||||
|
||||
import appeng.api.networking.IGridHost;
|
||||
|
||||
@@ -33,5 +33,5 @@ import appeng.api.networking.IGridHost;
|
||||
public interface INetworkTool extends IGuiItemObject {
|
||||
IGridHost getGridHost(); // null for most purposes.
|
||||
|
||||
ItemTransferable getInventory();
|
||||
FixedItemInv getInventory();
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
package appeng.api.implementations.tiles;
|
||||
|
||||
import alexiil.mc.lib.attributes.item.ItemTransferable;
|
||||
import alexiil.mc.lib.attributes.item.FixedItemInv;
|
||||
|
||||
public interface ISegmentedInventory {
|
||||
|
||||
@@ -36,5 +36,5 @@ public interface ISegmentedInventory {
|
||||
*
|
||||
* @return inventory with inventory name
|
||||
*/
|
||||
ItemTransferable getInventoryByName(String name);
|
||||
FixedItemInv getInventoryByName(String name);
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
package appeng.api.implementations.tiles;
|
||||
|
||||
import alexiil.mc.lib.attributes.item.ItemTransferable;
|
||||
import alexiil.mc.lib.attributes.item.FixedItemInv;
|
||||
|
||||
public interface IViewCellStorage {
|
||||
|
||||
@@ -32,5 +32,5 @@ public interface IViewCellStorage {
|
||||
*
|
||||
* @return inventory with at least 5 slot
|
||||
*/
|
||||
ItemTransferable getViewCellStorage();
|
||||
FixedItemInv getViewCellStorage();
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
package appeng.api.storage.cells;
|
||||
|
||||
import alexiil.mc.lib.attributes.item.ItemTransferable;
|
||||
import alexiil.mc.lib.attributes.item.FixedItemInv;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import appeng.api.config.FuzzyMode;
|
||||
@@ -50,12 +50,12 @@ public interface ICellInventory<T extends IAEStack<T>> extends IMEInventory<T> {
|
||||
/**
|
||||
* @return access configured list
|
||||
*/
|
||||
ItemTransferable getConfigInventory();
|
||||
FixedItemInv getConfigInventory();
|
||||
|
||||
/**
|
||||
* @return access installed upgrades.
|
||||
*/
|
||||
ItemTransferable getUpgradesInventory();
|
||||
FixedItemInv getUpgradesInventory();
|
||||
|
||||
/**
|
||||
* @return How many bytes are used for each type?
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
package appeng.api.storage.cells;
|
||||
|
||||
import alexiil.mc.lib.attributes.item.ItemTransferable;
|
||||
import alexiil.mc.lib.attributes.item.FixedItemInv;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import appeng.api.config.FuzzyMode;
|
||||
@@ -47,7 +47,7 @@ public interface ICellWorkbenchItem {
|
||||
*
|
||||
* onInventoryChange will be called when saving is needed.
|
||||
*/
|
||||
ItemTransferable getUpgradesInventory(ItemStack is);
|
||||
FixedItemInv getUpgradesInventory(ItemStack is);
|
||||
|
||||
/**
|
||||
* Used to extract, or mirror the contents of the work bench onto the cell.
|
||||
@@ -56,7 +56,7 @@ public interface ICellWorkbenchItem {
|
||||
*
|
||||
* onInventoryChange will be called when saving is needed.
|
||||
*/
|
||||
ItemTransferable getConfigInventory(ItemStack is);
|
||||
FixedItemInv getConfigInventory(ItemStack is);
|
||||
|
||||
/**
|
||||
* @return the current fuzzy status.
|
||||
|
||||
Reference in New Issue
Block a user