blob: 4f4863c1d45d2d4935d3d0e6051d67b870a59034 [file] [log] [blame] [raw]
package appeng.api.me.items;
import appeng.api.WorldCoord;
import appeng.api.me.util.TransitionResult;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public interface ISpatialStorage {
boolean isSpatialStorage( ItemStack is );
int getMaxStoredDim( ItemStack is );
World getWorld( ItemStack is );
WorldCoord getStoredSize( ItemStack is );
WorldCoord getMin( ItemStack is );
WorldCoord getMax( ItemStack is );
TransitionResult doSpatialTransition( ItemStack is, World w, WorldCoord min, WorldCoord max, boolean doTransition );
World createNewWorld(ItemStack is);
}